diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-06-01 09:03:47 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-06-01 09:03:47 -0700 |
commit | 673cd442f89a4df1e7d790276ea73c03ac5596b6 (patch) | |
tree | f6f13bc578f87cccb146c5372fc412c7ff383e74 /templates | |
parent | 4fe8899237f366147e987a06fd1ca3abd458966b (diff) | |
download | vyatta-cfg-quagga-673cd442f89a4df1e7d790276ea73c03ac5596b6.tar.gz vyatta-cfg-quagga-673cd442f89a4df1e7d790276ea73c03ac5596b6.zip |
Fix deletion of pseudo-ethernet
Bug 4478
Incorrect syntax on ip link command.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/interfaces/pseudo-ethernet/node.def | 2 |
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) |