summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-09-23 15:27:10 -0400
committerjim-p <jimp@pfsense.org>2013-09-23 15:27:10 -0400
commit7786cd6e377526eee721901422ef46b9d05eea66 (patch)
tree0ff5ce6fd962f22492fcd620815a25d17e246410 /etc
parentbe773f24f533855df67d4bd4121c1a28e91d614c (diff)
downloadpfsense-7786cd6e377526eee721901422ef46b9d05eea66.zip
pfsense-7786cd6e377526eee721901422ef46b9d05eea66.tar.gz
Add patch from Ermal to fix ifconfig error on gif in certain cases.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index d1dd455..3d99dc2 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -949,7 +949,7 @@ function interface_gif_configure(&$gif, $gifkey = "") {
/* Do not change the order here for more see gif(4) NOTES section. */
mwexec("/sbin/ifconfig {$gifif} tunnel {$realifip} {$gif['remote-addr']}");
if((is_ipaddrv6($gif['tunnel-local-addr'])) || (is_ipaddrv6($gif['tunnel-remote-addr']))) {
- mwexec("/sbin/ifconfig {$gifif} inet6 {$gif['tunnel-local-addr']} {$gif['tunnel-remote-addr']} prefixlen {$gif['tunnel-remote-net']} ");
+ mwexec("/sbin/ifconfig {$gifif} inet6 {$gif['tunnel-local-addr']} {$gif['tunnel-remote-addr']} prefixlen /{$gif['tunnel-remote-net']} ");
} else {
mwexec("/sbin/ifconfig {$gifif} {$gif['tunnel-local-addr']} {$gif['tunnel-remote-addr']} netmask " . gen_subnet_mask($gif['tunnel-remote-net']));
}
OpenPOWER on IntegriCloud