summaryrefslogtreecommitdiff
path: root/templates/protocols/static/arp/node.def
diff options
context:
space:
mode:
authorRobert Bays <robert@vyatta.com>2010-07-12 14:33:10 -0700
committerRobert Bays <robert@vyatta.com>2010-07-12 14:33:10 -0700
commitb3c9e4da4ab2b2c8e367db6288a864f0842c15dd (patch)
treebdb22c1de58f297ac2f9734ca0b686d3ab065eaa /templates/protocols/static/arp/node.def
parent43c42a98e5eb006a205e04d750a5a9f8a5d0f42f (diff)
parentf9adbe8e73aad0bb4fcd52b720bd77082c04854e (diff)
downloadvyatta-cfg-quagga-b3c9e4da4ab2b2c8e367db6288a864f0842c15dd.tar.gz
vyatta-cfg-quagga-b3c9e4da4ab2b2c8e367db6288a864f0842c15dd.zip
Merge branch 'larkspur' of http://git.vyatta.com/vyatta-cfg-quagga into larkspur
Diffstat (limited to 'templates/protocols/static/arp/node.def')
-rw-r--r--templates/protocols/static/arp/node.def5
1 files changed, 2 insertions, 3 deletions
diff --git a/templates/protocols/static/arp/node.def b/templates/protocols/static/arp/node.def
index 0174b24c..a7905c57 100644
--- a/templates/protocols/static/arp/node.def
+++ b/templates/protocols/static/arp/node.def
@@ -35,9 +35,8 @@ comp_help: Possible completions:
end:
ipaddr=$VAR(@)
hwaddr=$VAR(hwaddr/@)
-
- sudo arp -d $ipaddr > /dev/null
+ /usr/sbin/arp -d $ipaddr > /dev/null
if [ -n "$hwaddr" ]; then
- sudo arp -s $ipaddr $hwaddr
+ /usr/sbin/arp -s $ipaddr $hwaddr
fi
exit 0