Revision 6f969455
Added by Jim Pingle almost 12 years ago
etc/inc/interfaces.inc | ||
---|---|---|
949 | 949 |
/* Do not change the order here for more see gif(4) NOTES section. */ |
950 | 950 |
mwexec("/sbin/ifconfig {$gifif} tunnel {$realifip} {$gif['remote-addr']}"); |
951 | 951 |
if((is_ipaddrv6($gif['tunnel-local-addr'])) || (is_ipaddrv6($gif['tunnel-remote-addr']))) { |
952 |
mwexec("/sbin/ifconfig {$gifif} inet6 {$gif['tunnel-local-addr']} {$gif['tunnel-remote-addr']} prefixlen {$gif['tunnel-remote-net']} "); |
|
952 |
mwexec("/sbin/ifconfig {$gifif} inet6 {$gif['tunnel-local-addr']} {$gif['tunnel-remote-addr']} prefixlen /{$gif['tunnel-remote-net']} ");
|
|
953 | 953 |
} else { |
954 | 954 |
mwexec("/sbin/ifconfig {$gifif} {$gif['tunnel-local-addr']} {$gif['tunnel-remote-addr']} netmask " . gen_subnet_mask($gif['tunnel-remote-net'])); |
955 | 955 |
} |
Also available in: Unified diff
Add patch from Ermal to fix ifconfig error on gif in certain cases.