From: Anton Kikin Date: Thu, 26 Dec 2019 23:32:15 +0000 (+0300) Subject: luci-compat: network.lua: fix typo X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=07925b253a1b6d42dd777a1212f9b34c48e0f9f3;p=oweals%2Fluci.git luci-compat: network.lua: fix typo Fixes: 72247ee09 Signed-off-by: Anton Kikin --- diff --git a/modules/luci-compat/luasrc/model/network.lua b/modules/luci-compat/luasrc/model/network.lua index 67a1cc402..b07a45316 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)