mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Actually the / here is not needed.
This commit is contained in:
parent
c088fe72cb
commit
0ec64bd2a6
@ -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']));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user