summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-11-07 06:25:41 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-11-07 06:25:41 +0000
commit6e867889b4774ba1b643ee92a74b5ec0eae73ab1 (patch)
tree181fa9466542467d0b0cf4ec0026053657e3c538 /etc
parent9174b5243c34390318fc06c9f863c296e9c987d0 (diff)
downloadpfsense-6e867889b4774ba1b643ee92a74b5ec0eae73ab1.zip
pfsense-6e867889b4774ba1b643ee92a74b5ec0eae73ab1.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 95e7005..aefe2c5 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -231,7 +231,7 @@ function system_routing_configure() {
mwexec("/sbin/sysctl net.inet.ip.fastforwarding=1");
/* clear out old routes, if necessary */
- exec("/sbin/netstat -rn", $route_arr, $retval);
+ exec("/usr/bin/netstat -rn", $route_arr, $retval);
$route_str = implode("\n", $route_arr);
if (file_exists("{$g['vardb_path']}/routes.db")) {
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 1c8563a..e495a30 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -174,7 +174,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);
if ((is_array($ipseccfg['tunnel']) && count($ipseccfg['tunnel'])) ||
OpenPOWER on IntegriCloud