summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Souza <luiz@netgate.com>2017-08-11 22:55:29 -0500
committerLuiz Souza <luiz@netgate.com>2017-08-11 22:55:29 -0500
commitb76e0baebb70775b192507ec18f523141800ce95 (patch)
tree3975c6fff017f62419b2d8fa91ad598f01615857
parent8150bd51a7179da5d9aa1af49c44983b075bb962 (diff)
downloadpfsense-b76e0baebb70775b192507ec18f523141800ce95.zip
pfsense-b76e0baebb70775b192507ec18f523141800ce95.tar.gz
Disable the DAD on the stf interface. This prevents the dpinger from start.
-rw-r--r--src/etc/inc/interfaces.inc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/etc/inc/interfaces.inc b/src/etc/inc/interfaces.inc
index 472e087..1a498f7 100644
--- a/src/etc/inc/interfaces.inc
+++ b/src/etc/inc/interfaces.inc
@@ -3870,9 +3870,6 @@ function interface_6rd_configure($interface = "wan", $wancfg) {
/* XXX: need to extend to support variable prefix size for v4 */
- if (!is_module_loaded("if_stf")) {
- mwexec("/sbin/kldload if_stf.ko");
- }
$stfiface = "{$interface}_stf";
if (does_interface_exist($stfiface)) {
pfSense_interface_destroy($stfiface);
@@ -3880,7 +3877,7 @@ function interface_6rd_configure($interface = "wan", $wancfg) {
$tmpstfiface = pfSense_interface_create("stf");
pfSense_interface_rename($tmpstfiface, $stfiface);
pfSense_interface_flags($stfiface, IFF_LINK2);
- mwexec("/sbin/ifconfig {$stfiface} inet6 {$rd6prefix}/{$rd6prefixlen}");
+ mwexec("/sbin/ifconfig {$stfiface} inet6 no_dad {$rd6prefix}/{$rd6prefixlen}");
mwexec("/sbin/ifconfig {$stfiface} stfv4br " . escapeshellarg($wancfg['gateway-6rd']));
if ($wancfg['prefix-6rd-v4plen'] >= 0 && $wancfg['prefix-6rd-v4plen'] <= 32) {
mwexec("/sbin/ifconfig {$stfiface} stfv4net {$ip4address}/" . escapeshellarg($wancfg['prefix-6rd-v4plen']));
OpenPOWER on IntegriCloud