summaryrefslogtreecommitdiff
path: root/templates/clear/arp
diff options
context:
space:
mode:
Diffstat (limited to 'templates/clear/arp')
-rw-r--r--templates/clear/arp/address/node.tag/node.def2
-rw-r--r--templates/clear/arp/interface/node.tag/node.def2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/clear/arp/address/node.tag/node.def b/templates/clear/arp/address/node.tag/node.def
index 1cfd2a3..3813b29 100644
--- a/templates/clear/arp/address/node.tag/node.def
+++ b/templates/clear/arp/address/node.tag/node.def
@@ -1,3 +1,3 @@
help: Clear ARP cache for address
allowed: echo -n '<ip_address>'
-run: sudo ${vyatta_bindir}/sudo-users/ip neigh flush to $4
+run: sudo ${vyatta_bindir}/sudo-users/ip neigh flush to "$4"
diff --git a/templates/clear/arp/interface/node.tag/node.def b/templates/clear/arp/interface/node.tag/node.def
index eb0ec26..ca17543 100644
--- a/templates/clear/arp/interface/node.tag/node.def
+++ b/templates/clear/arp/interface/node.tag/node.def
@@ -2,4 +2,4 @@ help: Clear ARP cache for interface
allowed: local -a array ;
array=( /sys/class/net/{eth,vmnet}* ) ;
echo -n ${array[@]##*/}
-run: sudo ${vyatta_bindir}/sudo-users/ip neigh flush dev $4
+run: sudo ${vyatta_bindir}/sudo-users/ip neigh flush dev "$4"