our netstat is installed in /usr/bin.
This commit is contained in:
parent
b35ee63d8a
commit
6d7256d9d6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=122675
@ -13,7 +13,7 @@ chop;
|
|||||||
close(FD);
|
close(FD);
|
||||||
system("kill -INT $_");
|
system("kill -INT $_");
|
||||||
|
|
||||||
open(NS, "/usr/local/v6/bin/netstat -r -n|") || die "Can not open netstat";
|
open(NS, "/usr/bin/netstat -r -n|") || die "Can not open netstat";
|
||||||
while (<NS>) {
|
while (<NS>) {
|
||||||
chop;
|
chop;
|
||||||
next unless (/^3f/ || /^5f/);
|
next unless (/^3f/ || /^5f/);
|
||||||
|
Loading…
Reference in New Issue
Block a user