From 673cd442f89a4df1e7d790276ea73c03ac5596b6 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 1 Jun 2009 09:03:47 -0700 Subject: Fix deletion of pseudo-ethernet Bug 4478 Incorrect syntax on ip link command. --- templates/interfaces/pseudo-ethernet/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/interfaces/pseudo-ethernet/node.def b/templates/interfaces/pseudo-ethernet/node.def index 1279b788..60343e7d 100644 --- a/templates/interfaces/pseudo-ethernet/node.def +++ b/templates/interfaces/pseudo-ethernet/node.def @@ -8,5 +8,5 @@ commit:expression: $VAR(link) != "" create: sudo ip link add $VAR(@) link $VAR(link/@) type macvlan || exit 1 sudo ip link set $VAR(@) up /opt/vyatta/sbin/vyatta-link-detect $VAR(@) on -delete: sudo ip link del link $VAR(@) link $VAR(link/@) +delete: sudo ip link delete dev $VAR(@) type macvlan comp_help: Enter virtual ethernet interface name (peth0 - peth999) -- cgit v1.2.3