luci-compat: network.lua: fix typo 3434/head
authorAnton Kikin <a.kikin@tano-systems.com>
Thu, 26 Dec 2019 23:32:15 +0000 (02:32 +0300)
committerAnton Kikin <a.kikin@tano-systems.com>
Thu, 26 Dec 2019 23:32:15 +0000 (02:32 +0300)
Fixes: 72247ee09

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
modules/luci-compat/luasrc/model/network.lua

index 67a1cc402a08c852bbc2d9b6474edc52a04d4e18..b07a45316b955024ce8957fa8ff3d8f88fe6aeef 100644 (file)
@@ -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)