diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2019-12-27 12:13:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-27 12:13:15 +0200 |
commit | 06e6552c8a1ed4b246df76fb1af12e2481ceee56 (patch) | |
tree | 9c5c8af494cdfb9b4f7c33eaa83b872e72cf1cbf | |
parent | 1ccb8e103126eff671b59cf63c8bd05ce08bc4e0 (diff) | |
parent | 07925b253a1b6d42dd777a1212f9b34c48e0f9f3 (diff) |
Merge pull request #3434 from tano-systems/luci-base-network-fix
luci-compat: network.lua: fix typo
-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 d717c52db5..b9ef19b171 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) |