summaryrefslogtreecommitdiff
path: root/templates/protocols
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-09 18:04:42 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-09 18:04:42 -0700
commita04cd0d0ea838e72aa73389eef18ed9aa3246cb8 (patch)
treecf1a705173475f7f0b3217e2406c43325b0a7ba1 /templates/protocols
parent4630f414eccc37ba621a6f3d2e22b632072c85f0 (diff)
downloadvyatta-cfg-quagga-a04cd0d0ea838e72aa73389eef18ed9aa3246cb8.tar.gz
vyatta-cfg-quagga-a04cd0d0ea838e72aa73389eef18ed9aa3246cb8.zip
Need full path to arp command
If not using sudo, then need full path to arp.
Diffstat (limited to 'templates/protocols')
-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 8bf88225..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/@)
-
- arp -d $ipaddr > /dev/null
+ /usr/sbin/arp -d $ipaddr > /dev/null
if [ -n "$hwaddr" ]; then
- arp -s $ipaddr $hwaddr
+ /usr/sbin/arp -s $ipaddr $hwaddr
fi
exit 0