diff options
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-x | etc/rc.newwanip | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip index 347ccd0..e2213fa 100755 --- a/etc/rc.newwanip +++ b/etc/rc.newwanip @@ -71,6 +71,10 @@ $oldip = "0.0.0.0"; if (file_exists("{$g['vardb_path']}/{$interface}_cacheip")) $oldip = file_get_contents("{$g['vardb_path']}/{$interface}_cacheip"); +$grouptmp = link_interface_to_group($interface); +if (!empty($grouptmp)) + array_walk($grouptmp, 'interface_group_add_member'); + /* regenerate resolv.conf if DNS overrides are allowed */ system_resolvconf_generate(true); |