summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcp/dhclient/scripts
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2000-07-03 22:33:20 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2000-07-03 22:33:20 +0000
commit10ad851425902a272690ff561b35df2a422e679a (patch)
tree2be72102f7fa27817f1717f386df59eb35d38f0c /usr.sbin/dhcp/dhclient/scripts
parent85540feb0bbe3a4fbd02849b3db5690456fb7db1 (diff)
arp(8) invocations fixed
Diffstat (limited to 'usr.sbin/dhcp/dhclient/scripts')
-rw-r--r--usr.sbin/dhcp/dhclient/scripts/dhclient-script8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/dhcp/dhclient/scripts/dhclient-script b/usr.sbin/dhcp/dhclient/scripts/dhclient-script
index fa8b2e21bf5..098a24b66a0 100644
--- a/usr.sbin/dhcp/dhclient/scripts/dhclient-script
+++ b/usr.sbin/dhcp/dhclient/scripts/dhclient-script
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $OpenBSD: dhclient-script,v 1.6 2000/06/25 08:41:12 dugsong Exp $
+# $OpenBSD: dhclient-script,v 1.7 2000/07/03 22:33:19 niklas Exp $
#
if [ "x$new_network_number" != "x" ]; then
@@ -69,7 +69,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
@@ -135,7 +135,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
@@ -210,7 +210,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 1
fi