projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libs/core: fix bug in contains_interface() implementation of PPPoE protocol
[project/luci.git]
/
libs
/
core
/
luasrc
/
model
/
network
/
proto_ppp.lua
diff --git
a/libs/core/luasrc/model/network/proto_ppp.lua
b/libs/core/luasrc/model/network/proto_ppp.lua
index
481ca5f
..
af6f394
100644
(file)
--- a/
libs/core/luasrc/model/network/proto_ppp.lua
+++ b/
libs/core/luasrc/model/network/proto_ppp.lua
@@
-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, if
name
)
+ return netmod.protocol.contains_interface(self, if
c
)
end
end