diff options
-rw-r--r-- | modules/luci-base/luasrc/model/cbi/admin_network/proto_static.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/luasrc/model/cbi/admin_network/proto_static.lua b/modules/luci-base/luasrc/model/cbi/admin_network/proto_static.lua index 3c5751744..246d2c0ed 100644 --- a/modules/luci-base/luasrc/model/cbi/admin_network/proto_static.lua +++ b/modules/luci-base/luasrc/model/cbi/admin_network/proto_static.lua @@ -34,7 +34,7 @@ usecidr.write = function(self, section) local formvalue = (self:formvalue(section) == "1") and ipaddr_multi:formvalue(section) or ipaddr_single:formvalue(section) local equal = (cfgvalue == formvalue) - if not equal and type(cfgvalue) == "table" and type(formvalue) == "table" then + if not equal and type(cfgvalue) == "table" and type(formvalue) == "table" and #cfgvalue == #formvalue then equal = true local _, v |