summaryrefslogtreecommitdiffhomepage
path: root/libs/core
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-12-05 03:21:52 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-12-05 03:21:52 +0000
commitea294f0b645a04db24a7dc75057cec48f6493bd7 (patch)
treeb823f4eefe497d16dd788aa72e7534704290f850 /libs/core
parent69b019acf37b69d1becad27e1a8b7a3818d61253 (diff)
libs/core: ignore sit0 in network model
Diffstat (limited to 'libs/core')
-rw-r--r--libs/core/luasrc/model/network.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/core/luasrc/model/network.lua b/libs/core/luasrc/model/network.lua
index 30e75b9e4..28237e49a 100644
--- 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