libs/core: fix bug in contains_interface() implementation of PPPoE protocol
This commit is contained in:
parent
0d4ec2bbba
commit
be71f1c93a
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ for _, p in ipairs({"ppp", "pptp", "pppoe", "pppoa", "3g"}) do
|
|||
if self:is_floating() then
|
||||
return (netmod:ifnameof(ifc) == self:ifname())
|
||||
else
|
||||
return netmod.protocol.contains_interface(self, ifname)
|
||||
return netmod.protocol.contains_interface(self, ifc)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue