libs/core: also add gre0 to default interface ignore pattern
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 17 Aug 2012 11:39:04 +0000 (11:39 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 17 Aug 2012 11:39:04 +0000 (11:39 +0000)
libs/core/luasrc/model/network.lua

index df6bf1e..607276f 100644 (file)
@@ -38,7 +38,7 @@ module "luci.model.network"
 
 
 IFACE_PATTERNS_VIRTUAL  = { }
-IFACE_PATTERNS_IGNORE   = { "^wmaster%d", "^wifi%d", "^hwsim%d", "^imq%d", "^ifb%d", "^mon%.wlan%d", "^sit%d", "^lo$" }
+IFACE_PATTERNS_IGNORE   = { "^wmaster%d", "^wifi%d", "^hwsim%d", "^imq%d", "^ifb%d", "^mon%.wlan%d", "^sit%d", "^gre%d", "^lo$" }
 IFACE_PATTERNS_WIRELESS = { "^wlan%d", "^wl%d", "^ath%d", "^%w+%.network%d" }