diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2008-11-07 06:25:41 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2008-11-07 06:25:41 +0000 |
commit | 6e867889b4774ba1b643ee92a74b5ec0eae73ab1 (patch) | |
tree | 181fa9466542467d0b0cf4ec0026053657e3c538 /etc | |
parent | 9174b5243c34390318fc06c9f863c296e9c987d0 (diff) | |
download | pfsense-6e867889b4774ba1b643ee92a74b5ec0eae73ab1.zip pfsense-6e867889b4774ba1b643ee92a74b5ec0eae73ab1.tar.gz |
Correct path to netstat
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/system.inc | 2 | ||||
-rw-r--r-- | etc/inc/vpn.inc | 2 |
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'])) || |