summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/rc.newwanip6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip
index 7eaf5b9..ad3a54d 100755
--- a/etc/rc.newwanip
+++ b/etc/rc.newwanip
@@ -102,9 +102,6 @@ file_put_contents("{$g['vardb_path']}/{$interface}_ip", $curwanip);
/* reconfigure static routes (kernel may have deleted them) */
system_routing_configure($interface);
-/* reconfigure our gateway monitor */
-setup_gateways_monitor();
-
/* Check Gif tunnels */
foreach($config['gifs']['gif'] as $gif) {
if($gif['if'] == $interface) {
@@ -122,6 +119,9 @@ foreach($config['gifs']['gif'] as $gif) {
}
}
+/* reconfigure our gateway monitor */
+setup_gateways_monitor();
+
/* signal filter reload */
filter_configure();
OpenPOWER on IntegriCloud