summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/interfaces.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 6b5d943..e067289 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -3352,6 +3352,9 @@ function interface_6rd_configure($interface = "wan", $wancfg) {
if (!is_array($wancfg))
return;
+ if (!is_module_loaded('if_stf.ko'))
+ mwexec('/sbin/kldload if_stf.ko');
+
$wanif = get_real_interface($interface);
$ip4address = find_interface_ip($wanif);
if ((!is_ipaddrv4($ip4address)) || (is_private_ip($ip4address))) {
OpenPOWER on IntegriCloud