diff options
Diffstat (limited to 'templates/protocols/static/arp/node.def')
-rw-r--r-- | templates/protocols/static/arp/node.def | 5 |
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 |