Project

General

Profile

« Previous | Next » 

Revision b686e5d0

Added by Ermal LUÇI over 12 years ago

Load if_stf module if has not been done

View differences:

etc/inc/interfaces.inc
3212 3212
	$rd6prefix = convert_128bit_to_ipv6($rd6prefixbin);
3213 3213

  
3214 3214
	/* XXX: need to extend to support variable prefix size for v4 */
3215
	if (!is_module_loaded("if_stf"))
3216
		mwexec("/sbin/kldload if_stf.ko");
3215 3217
	$stfiface = "{$interface}_stf";
3216 3218
	if (does_interface_exist($stfiface))
3217 3219
		pfSense_interface_destroy($stfiface);
......
3306 3308
	$stflan = Net_IPv6::compress(implode(":", $stflanarr));
3307 3309

  
3308 3310
	/* setup the stf interface */
3311
	if (!is_module_loaded("if_stf"))
3312
		mwexec("/sbin/kldload if_stf.ko");
3309 3313
	$stfiface = "{$interface}_stf";
3310 3314
	if (does_interface_exist($stfiface))
3311 3315
		pfSense_interface_destroy($stfiface);

Also available in: Unified diff