summaryrefslogtreecommitdiff
path: root/sysconf/65-vyatta-net.rules
diff options
context:
space:
mode:
Diffstat (limited to 'sysconf/65-vyatta-net.rules')
-rw-r--r--sysconf/65-vyatta-net.rules8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysconf/65-vyatta-net.rules b/sysconf/65-vyatta-net.rules
index 1372110f..a2ae654c 100644
--- a/sysconf/65-vyatta-net.rules
+++ b/sysconf/65-vyatta-net.rules
@@ -8,6 +8,12 @@ SUBSYSTEM!="net", GOTO="vyatta_net_end"
NAME=="?*", GOTO="vyatta_net_end"
# Do name change for ethernet and wireless devices only
-KERNEL=="eth*|wlan*", PROGRAM="vyatta_net_name %k $attr{address}", NAME="%c"
+KERNEL!="eth*|wlan*", GOTO="vyatta_net_end"
+
+# ignore "secondary" monitor interfaces of mac80211 drivers
+KERNEL=="wlan*", ATTRS{type}=="803", GOTO="persistent_net_generator_end"
+
+# ignore interfaces without a driver link like bridges and VLANs
+DRIVERS=="?*", PROGRAM="vyatta_net_name %k $attr{address}", NAME="%c"
LABEL="vyatta_net_end"