summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-11 21:10:31 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-11 21:10:31 -0700
commitd00425316748ce1bac4c855c79848c28a60a6208 (patch)
treea56d4d38599ce8726d42e1c6fe8a00108aefec08
parent9491b94e7085f390c0ccd2e31f700eac8f5a1536 (diff)
downloadvyatta-cfg-quagga-d00425316748ce1bac4c855c79848c28a60a6208.tar.gz
vyatta-cfg-quagga-d00425316748ce1bac4c855c79848c28a60a6208.zip
Fix delete of bonding vif
Need dev in argument
-rw-r--r--templates/interfaces/bonding/node.tag/vif/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/bonding/node.tag/vif/node.def b/templates/interfaces/bonding/node.tag/vif/node.def
index ddda4d70..f85c400d 100644
--- a/templates/interfaces/bonding/node.tag/vif/node.def
+++ b/templates/interfaces/bonding/node.tag/vif/node.def
@@ -4,6 +4,6 @@ help: Set Virtual Local Area Network (VLAN) ID
syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 4094; "VLAN ID must be between 0 and 4094"
create: sudo ip link add link $VAR(../@) name "$VAR(../@).$VAR(@)" type vlan id $VAR(@)
sudo ip link set "$VAR(../@).$VAR(@)" up
-delete: sudo ip link delete link "$VAR(../@).$VAR(@)" type vlan id $VAR(@)
+delete: sudo ip link delete dev "$VAR(../@).$VAR(@)" type vlan id $VAR(@)
comp_help: possible completions:
<0-4094> Set VLAN ID