From 07925b253a1b6d42dd777a1212f9b34c48e0f9f3 Mon Sep 17 00:00:00 2001 From: Anton Kikin Date: Fri, 27 Dec 2019 02:32:15 +0300 Subject: luci-compat: network.lua: fix typo Fixes: 72247ee09 Signed-off-by: Anton Kikin --- modules/luci-compat/luasrc/model/network.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/luci-compat') 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) -- cgit v1.2.3