summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc3
1 files changed, 0 insertions, 3 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index f4d224e..93ff163 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -2499,9 +2499,6 @@ function interface_configure($interface = "wan", $reloadall = false, $linkupeven
} else if (substr($realif, 0, 4) == "ovpn") {
/* XXX: Should be done anything?! */
}
-
- if (is_ipaddr($wancfg['gateway']))
- file_put_contents("{$g['tmp_path']}/{$realif}_router", $wancfg['gateway']);
break;
}
OpenPOWER on IntegriCloud