From c2c15ef2d6a85d40e778a0d84f243d2ae99c56ba Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen.hemminger@vyatta.com>
Date: Tue, 23 Nov 2010 14:06:59 -0800
Subject: Don't need to rename vlan devices

Avoid calling vyatta_net_name on vlan's
---
 sysconf/65-vyatta-net.rules | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'sysconf')

diff --git a/sysconf/65-vyatta-net.rules b/sysconf/65-vyatta-net.rules
index 0f4b9006..a583b363 100644
--- a/sysconf/65-vyatta-net.rules
+++ b/sysconf/65-vyatta-net.rules
@@ -10,6 +10,9 @@ NAME=="?*",				GOTO="vyatta_net_end"
 # Do name change for ethernet and wireless devices only
 KERNEL!="eth*|wlan*", 			GOTO="vyatta_net_end"
 
+# ignore vlan's
+KERNEL=="*.*",				GOTO="vyatta_net_end"
+
 # ignore "secondary" monitor interfaces of mac80211 drivers
 KERNEL=="wlan*", ATTRS{type}=="803",	GOTO="vyatta_net_end"
 
-- 
cgit v1.2.3