summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/interfaces/pseudo-ethernet/node.def2
1 files changed, 1 insertions, 1 deletions
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)