summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-06-17 07:43:58 +0000
committerErmal <eri@pfsense.org>2013-06-17 07:55:10 +0000
commit85a389c9f1d9485503188901d324e192060ca374 (patch)
tree85f64080d3f092f57dcb969aa6ef8fa903aa93e9 /etc/inc
parentaf600fe24677a27c49ceaa054baa8f145165c8f5 (diff)
downloadpfsense-85a389c9f1d9485503188901d324e192060ca374.zip
pfsense-85a389c9f1d9485503188901d324e192060ca374.tar.gz
Provide full path to route binary
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/interfaces.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 380b072..cd8e205 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -942,10 +942,10 @@ function interface_gif_configure(&$gif, $gifkey = "") {
file_put_contents("{$g['tmp_path']}/{$gifif}_routerv6", $gif['tunnel-remote-addr']);
if (is_ipaddrv4($realifgw)) {
- mwexec("route change -host {$gif['remote-addr']} {$realifgw}");
+ mwexec("/sbin/route change -host {$gif['remote-addr']} {$realifgw}");
}
if (is_ipaddrv6($realifgw)) {
- mwexec("route change -host -inet6 {$gif['remote-addr']} {$realifgw}");
+ mwexec("/sbin/route change -host -inet6 {$gif['remote-addr']} {$realifgw}");
}
return $gifif;
@@ -3401,7 +3401,7 @@ function interface_6to4_configure($interface = "wan", $wancfg){
$ip4gateway = get_interface_gateway($interface);
if (is_ipaddrv4($ip4gateway))
- mwexec("route change -host 192.88.99.1 {$ip4gateway}");
+ mwexec("/sbin/route change -host 192.88.99.1 {$ip4gateway}");
if (!$g['booting'])
link_interface_to_track6($interface, "update");
OpenPOWER on IntegriCloud