summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Bays <rbays@moresby.vyatta.com>2008-04-18 11:21:15 -0700
committerRobert Bays <rbays@moresby.vyatta.com>2008-04-18 11:21:15 -0700
commitfd5ebf6b81c2273ba77f66c7e9b17856b462ef01 (patch)
treeae97cc6ae6894cf6789584c3b774748d81efad19
parent39f2c4e968b4578a33dd0ee55241fb042b2fdadb (diff)
downloadvyatta-cfg-fd5ebf6b81c2273ba77f66c7e9b17856b462ef01.tar.gz
vyatta-cfg-fd5ebf6b81c2273ba77f66c7e9b17856b462ef01.zip
fix for bug 3177
-rw-r--r--templates/interfaces/ethernet/node.tag/vif/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/ethernet/node.tag/vif/node.def b/templates/interfaces/ethernet/node.tag/vif/node.def
index 73958be..6a367f6 100644
--- a/templates/interfaces/ethernet/node.tag/vif/node.def
+++ b/templates/interfaces/ethernet/node.tag/vif/node.def
@@ -5,7 +5,7 @@ syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 4094; "VLAN ID must be between 0 a
create:expression: "sudo modprobe 8021q"; "Error loading 802.1q driver"
create:expression: "sudo vconfig add $VAR(../@) $VAR(@)"; "Error adding VLAN id $VAR(@) to dev $VAR(../@)"
create:expression: "sudo ip link set $VAR(../@).$VAR(@) up"; "Error enabling VLAN id $VAR(@) on dev $VAR(../@)"
-update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\"\
+create:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\"\
-c \"interface $VAR(../@).$VAR(@)\" \
-c \"link-detect\"; "
delete:expression: "sudo vconfig rem $VAR(../@).$VAR(@)"; "Error removing VLAN id $VAR(@) from dev $VAR(../@)"