diff options
Diffstat (limited to 'modules/luci-compat/luasrc/model')
-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 d717c52db..b9ef19b17 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) |