projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69b019a
)
libs/core: ignore sit0 in network model
author
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 5 Dec 2010 03:21:52 +0000
(
03:21
+0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 5 Dec 2010 03:21:52 +0000
(
03:21
+0000)
libs/core/luasrc/model/network.lua
patch
|
blob
|
history
diff --git
a/libs/core/luasrc/model/network.lua
b/libs/core/luasrc/model/network.lua
index 30e75b9e4c4d69dc48e007dd7bad7cf3a9bf4b89..28237e49a80abf8fa941b1dd30b0e94524e8ea03 100644
(file)
--- a/
libs/core/luasrc/model/network.lua
+++ b/
libs/core/luasrc/model/network.lua
@@
-155,7
+155,7
@@
function _iface_ignore(x)
x:match("^wmaster%d") or x:match("^wifi%d") or x:match("^hwsim%d") or
x:match("^imq%d") or x:match("^mon.wlan%d") or x:match("^6in4-%w") or
x:match("^6to4-%w") or x:match("^3g-%w") or x:match("^ppp-%w") or
- x:match("^pppoe-%w") or x:match("^pppoa-%w") or x == "lo"
+ x:match("^pppoe-%w") or x:match("^pppoa-%w") or x == "
sit0" or x == "
lo"
)
end