Permalink
Browse files

interfaces: reload filter before reloading plugins for connectivity

  • Loading branch information...
fichtner committed Sep 16, 2017
1 parent f9d99d0 commit cc7c54a7bf3cd7c7172b66964e9cf0bd4f9dfd0e
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/etc/rc.newwanip
  2. +1 −1 src/etc/rc.newwanipv6
View
@@ -163,9 +163,9 @@ if (!is_ipaddr($cacheip) || $ip != $cacheip || !is_ipaddr($configip)) {
system_routing_configure($interface);
setup_gateways_monitor();
plugins_configure('vpn', false, array($interface));
filter_configure_sync();
plugins_configure('newwanip', false, array($interface));
rrd_configure();
filter_configure_sync();
if (is_ipaddr($ip)) {
@file_put_contents($cacheip_file, $ip);
View
@@ -144,9 +144,9 @@ if (!is_ipaddr($cacheip) || $ip != $cacheip || !is_ipaddr($configip)) {
system_routing_configure($interface);
setup_gateways_monitor();
plugins_configure('vpn', false, array($interface));
filter_configure_sync();
plugins_configure('newwanip', false, array($interface));
rrd_configure();
filter_configure_sync();
if (is_ipaddr($ip)) {
@file_put_contents($cacheip_file, $ip);

0 comments on commit cc7c54a

Please sign in to comment.