diff options
author | jim-p <jimp@pfsense.org> | 2013-09-23 15:27:10 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-09-23 15:27:44 -0400 |
commit | 6f969455f88f209df290f08f6556bb5ff85c1c5f (patch) | |
tree | bc6ab759509d1dbde274ead9502ac290b7389cd1 /etc | |
parent | c48776161b56e1ab2c7a43dc1bc5eebb55c61c8f (diff) | |
download | pfsense-6f969455f88f209df290f08f6556bb5ff85c1c5f.zip pfsense-6f969455f88f209df290f08f6556bb5ff85c1c5f.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.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index c37d50e..916dbed 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'])); } |