diff options
-rw-r--r-- | modules/luci-compat/luasrc/model/network.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-compat/luasrc/model/network.lua b/modules/luci-compat/luasrc/model/network.lua index 67a1cc402a..b07a45316b 100644 --- a/modules/luci-compat/luasrc/model/network.lua +++ b/modules/luci-compat/luasrc/model/network.lua @@ -1482,7 +1482,7 @@ end function interface.is_bridgeport(self) return self.dev and self.dev.bridge and - (self.dev.bridge.name != self:name()) and true or false + (self.dev.bridge.name ~= self:name()) and true or false end function interface.tx_bytes(self) |