summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-compat/luasrc
diff options
context:
space:
mode:
authorAnton Kikin <a.kikin@tano-systems.com>2019-12-27 02:32:15 +0300
committerAnton Kikin <a.kikin@tano-systems.com>2019-12-27 02:32:15 +0300
commit07925b253a1b6d42dd777a1212f9b34c48e0f9f3 (patch)
treeabb6e66efc05791d4ce523d954669292d08843be /modules/luci-compat/luasrc
parent72247ee09f17fe1f7972de29ca8bc5910a956565 (diff)
luci-compat: network.lua: fix typo
Fixes: 72247ee09 Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
Diffstat (limited to 'modules/luci-compat/luasrc')
-rw-r--r--modules/luci-compat/luasrc/model/network.lua2
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)