Skip to content

Commit

Permalink
interfaces: reload filter before reloading plugins for connectivity
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Sep 16, 2017
1 parent f9d99d0 commit cc7c54a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/etc/rc.newwanip
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/etc/rc.newwanipv6
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit cc7c54a

Please sign in to comment.