summaryrefslogtreecommitdiffstats
path: root/contrib/isc-dhcp
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-07-20 09:55:08 +0000
committerobrien <obrien@FreeBSD.org>2000-07-20 09:55:08 +0000
commit847128d2b340184f3f67d3056fcaf433fc3352f9 (patch)
treea3c0d86347ca5dbac1334d9bc3ef59dd572e48ca /contrib/isc-dhcp
parent0b5fb9ae45ddc7c69de6cb2427c600035401ee77 (diff)
downloadFreeBSD-src-847128d2b340184f3f67d3056fcaf433fc3352f9.zip
FreeBSD-src-847128d2b340184f3f67d3056fcaf433fc3352f9.tar.gz
arp(8) invocations fixed -- one does not use "-n" with "-d".
Obtained from: OpenBSD (rev 1.7)
Diffstat (limited to 'contrib/isc-dhcp')
-rwxr-xr-xcontrib/isc-dhcp/client/scripts/freebsd6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/isc-dhcp/client/scripts/freebsd b/contrib/isc-dhcp/client/scripts/freebsd
index 571845b..64b5d2d 100755
--- a/contrib/isc-dhcp/client/scripts/freebsd
+++ b/contrib/isc-dhcp/client/scripts/freebsd
@@ -101,7 +101,7 @@ if [ "x$reason" = "xBOUND" ] || [ "x$reason" = "xRENEW" ] || \
shift; shift
done
fi
- arp -n -a | sed -n -e 's/^.*(\(.*\)) at .*$/arp -n -d \1/p' |sh
+ arp -n -a | sed -n -e 's/^.*(\(.*\)) at .*$/arp -d \1/p' |sh
fi
if [ "x$old_ip_address" = "x" ] || [ "x$old_ip_address" != "x$new_ip_address" ] || \
[ "x$reason" = "xBOUND" ] || [ "x$reason" = "xREBOOT" ]; then
@@ -154,7 +154,7 @@ if [ "x$reason" = "xEXPIRE" ] || [ "x$reason" = "xFAIL" ]; then
shift; shift
done
fi
- arp -n -a | sed -n -e 's/^.*(\(.*\)) at .*$/arp -n -d \1/p' \
+ arp -n -a | sed -n -e 's/^.*(\(.*\)) at .*$/arp -d \1/p' \
|sh >/dev/null 2>&1
fi
if [ "x$alias_ip_address" != "x" ]; then
@@ -212,7 +212,7 @@ if [ "x$reason" = "xTIMEOUT" ]; then
shift; shift
done
fi
- arp -n -a | sed -n -e 's/^.*(\(.*\)) at .*$/arp -n -d \1/p' \
+ arp -n -a | sed -n -e 's/^.*(\(.*\)) at .*$/arp -d \1/p' \
|sh >/dev/null 2>&1
exit_with_hooks 1
fi
OpenPOWER on IntegriCloud