Skip to content

Commit

Permalink
rc: put unconditional filter reload back for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Aug 5, 2017
1 parent 74ba371 commit 051e44c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/etc/rc.newwanip
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,10 @@ if (!is_ipaddr($cacheip) || $ip != $cacheip || !is_ipaddr($configip)) {
plugins_configure('vpn', false, array($interface));
plugins_configure('newwanip', false, array($interface));
rrd_configure();
filter_configure_sync();

if (is_ipaddr($ip)) {
@file_put_contents($cacheip_file, $ip);
}
}

filter_configure_sync();
3 changes: 2 additions & 1 deletion src/etc/rc.newwanipv6
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,10 @@ if (!is_ipaddr($cacheip) || $ip != $cacheip || !is_ipaddr($configip)) {
plugins_configure('vpn', false, array($interface));
plugins_configure('newwanip', false, array($interface));
rrd_configure();
filter_configure_sync();

if (is_ipaddr($ip)) {
@file_put_contents($cacheip_file, $ip);
}
}

filter_configure_sync();

0 comments on commit 051e44c

Please sign in to comment.