summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-11-07 06:29:48 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-11-07 06:29:48 +0000
commit2731ebc8cb9a0ff53a7d8a8e90f27021fcfa03b0 (patch)
tree293d0fb300ef4dfb0fb4145fe7d570fa35b54afc /etc
parenta8d8d5feb7d6a321cab663b29dd987d43ad58ace (diff)
downloadpfsense-2731ebc8cb9a0ff53a7d8a8e90f27021fcfa03b0.zip
pfsense-2731ebc8cb9a0ff53a7d8a8e90f27021fcfa03b0.tar.gz
Correct path to netstat
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/system.inc2
-rw-r--r--etc/inc/vpn.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 26f484e..78e0434 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -201,7 +201,7 @@ function system_routing_configure() {
if(isset($config['staticroutes']['enablefastrouting']))
mwexec("/sbin/sysctl net.inet.ip.fastforwarding=1");
- exec("/sbin/netstat -rn", $route_arr, $retval);
+ exec("/usr/bin/netstat -rn", $route_arr, $retval);
$route_str = implode("\n", $route_arr);
/* clear out old routes, if necessary */
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 8a588b9..51d5c78 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -168,7 +168,7 @@ function vpn_ipsec_configure($ipchg = false)
}
/* this loads a route table which is used to determine if a route needs to be removed. */
- exec("/sbin/netstat -rn", $route_arr, $retval);
+ exec("/usr/bin/netstat -rn", $route_arr, $retval);
$route_str = implode("\n", $route_arr);
/* resolve all local, peer addresses and setup pings */
OpenPOWER on IntegriCloud