Project

General

Profile

« Previous | Next » 

Revision 5a8371cd

Added by Seth Mos almost 14 years ago

Add a / for the prefix length value. As suggested on
http://forum.pfsense.org/index.php/topic,40377.msg209028.html#msg209028

View differences:

etc/inc/interfaces.inc
842 842
	/* Do not change the order here for more see gif(4) NOTES section. */
843 843
	mwexec("/sbin/ifconfig {$gifif} tunnel {$realifip} {$gif['remote-addr']}");
844 844
	if((is_ipaddrv6($gif['tunnel-local-addr'])) || (is_ipaddrv6($gif['tunnel-remote-addr']))) {
845
		mwexec("/sbin/ifconfig {$gifif} inet6 {$gif['tunnel-local-addr']} {$gif['tunnel-remote-addr']} prefixlen {$gif['tunnel-remote-net']} ");
845
		mwexec("/sbin/ifconfig {$gifif} inet6 {$gif['tunnel-local-addr']} {$gif['tunnel-remote-addr']} prefixlen /{$gif['tunnel-remote-net']} ");
846 846
	} else {
847 847
		mwexec("/sbin/ifconfig {$gifif} {$gif['tunnel-local-addr']} {$gif['tunnel-remote-addr']} netmask " . gen_subnet_mask($gif['tunnel-remote-net']));
848 848
	}

Also available in: Unified diff