Project

General

Profile

« Previous | Next » 

Revision 040e0b40

Added by Luiz Souza almost 8 years ago

Remove the previous 'no_dad' workaround now that if_stf is fixed.

Partly revert b76e0baebb70775b192507ec18f523141800ce95.

(cherry picked from commit dad3885f9f5afbe0768387527122a885414dd3bc)

View differences:

src/etc/inc/interfaces.inc
3880 3880
	$tmpstfiface = pfSense_interface_create("stf");
3881 3881
	pfSense_interface_rename($tmpstfiface, $stfiface);
3882 3882
	pfSense_interface_flags($stfiface, IFF_LINK2);
3883
	mwexec("/sbin/ifconfig {$stfiface} inet6 no_dad {$rd6prefix}/{$rd6prefixlen}");
3883
	mwexec("/sbin/ifconfig {$stfiface} inet6 {$rd6prefix}/{$rd6prefixlen}");
3884 3884
	mwexec("/sbin/ifconfig {$stfiface} stfv4br " . escapeshellarg($wancfg['gateway-6rd']));
3885 3885
	if ($wancfg['prefix-6rd-v4plen'] >= 0 && $wancfg['prefix-6rd-v4plen'] <= 32) {
3886 3886
		mwexec("/sbin/ifconfig {$stfiface} stfv4net {$ip4address}/" . escapeshellarg($wancfg['prefix-6rd-v4plen']));

Also available in: Unified diff