diff options
-rw-r--r-- | templates/protocols/static/arp/node.def | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/protocols/static/arp/node.def b/templates/protocols/static/arp/node.def index cf028611..0174b24c 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/@) - arp -d $ipaddr > /dev/null + sudo arp -d $ipaddr > /dev/null if [ -n "$hwaddr" ]; then - arp -s $ipaddr $hwaddr + sudo arp -s $ipaddr $hwaddr fi - exit 0
\ No newline at end of file + exit 0 |