summaryrefslogtreecommitdiff
path: root/templates/protocols/static/arp/node.def
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-05-21 17:20:25 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-05-21 17:20:25 -0700
commitd1627b367e30988d26b7e393600149750534aaf6 (patch)
tree7c3991d8e689b032e771b885a132b3fdc2328ded /templates/protocols/static/arp/node.def
parent60fb7bb1025d25606efc00b4f3f9505e17efe1e0 (diff)
downloadvyatta-cfg-quagga-d1627b367e30988d26b7e393600149750534aaf6.tar.gz
vyatta-cfg-quagga-d1627b367e30988d26b7e393600149750534aaf6.zip
No longer need sudo for arp
Have capability do that.
Diffstat (limited to 'templates/protocols/static/arp/node.def')
-rw-r--r--templates/protocols/static/arp/node.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/protocols/static/arp/node.def b/templates/protocols/static/arp/node.def
index 0174b24c..8bf88225 100644
--- a/templates/protocols/static/arp/node.def
+++ b/templates/protocols/static/arp/node.def
@@ -36,8 +36,8 @@ end:
ipaddr=$VAR(@)
hwaddr=$VAR(hwaddr/@)
- sudo arp -d $ipaddr > /dev/null
+ arp -d $ipaddr > /dev/null
if [ -n "$hwaddr" ]; then
- sudo arp -s $ipaddr $hwaddr
+ arp -s $ipaddr $hwaddr
fi
exit 0