diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua b/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua index 37fab9f2bd..db4d500f5b 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua @@ -109,9 +109,6 @@ function fwzone.cfgvalue(self, section) end function fwzone.write(self, section, value) - - fw.del_network(section) - local zone = fw.get_zone(value) if not zone then @@ -122,6 +119,7 @@ function fwzone.write(self, section, value) end if zone then + fw.del_network(section) zone:add_network(section) end end |