diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-08-06 15:19:15 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-08-06 15:19:50 +0200 |
commit | 1fc8d021edc6d60b49b607c917d23b0655a69d47 (patch) | |
tree | a2f204ff0eca6e67bd4defdf49ebf1fdb8d6ecd6 /protocols/luci-proto-3g/luasrc | |
parent | d73553e5303587ccecf05a91ead258054c9a70eb (diff) |
protocols: fix contains_interface() implementation in several backends
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'protocols/luci-proto-3g/luasrc')
-rw-r--r-- | protocols/luci-proto-3g/luasrc/model/network/proto_3g.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/luci-proto-3g/luasrc/model/network/proto_3g.lua b/protocols/luci-proto-3g/luasrc/model/network/proto_3g.lua index b2454838f9..60d8e2ebae 100644 --- a/protocols/luci-proto-3g/luasrc/model/network/proto_3g.lua +++ b/protocols/luci-proto-3g/luasrc/model/network/proto_3g.lua @@ -38,7 +38,7 @@ function proto.get_interfaces(self) return nil end -function proto.contains_interface(self, ifname) +function proto.contains_interface(self, ifc) if self:is_floating() then return (netmod:ifnameof(ifc) == self:ifname()) else |