diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-04-12 20:29:17 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-04-12 20:29:17 +0000 |
commit | 9a58003a1d26adcd83821a6f2e4981ca7a6c8419 (patch) | |
tree | 9d60eb7aabdebc30a061dc66985cd11e82744d48 /sbin/dhclient | |
parent | 9fc177d26cb62c7f96bc0bc701755931aa1c2de8 (diff) |
simplify, from Han Boetes & pb@, theo ok
Diffstat (limited to 'sbin/dhclient')
-rw-r--r-- | sbin/dhclient/dhclient-script | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/dhclient-script b/sbin/dhclient/dhclient-script index e7eaa6cdf11..3139069780e 100644 --- a/sbin/dhclient/dhclient-script +++ b/sbin/dhclient/dhclient-script @@ -1,6 +1,6 @@ #!/bin/sh # -# $OpenBSD: dhclient-script,v 1.1 2004/01/18 01:26:20 deraadt Exp $ +# $OpenBSD: dhclient-script,v 1.2 2004/04/12 20:29:16 henning Exp $ # # Copyright (c) 2003 Kenneth R Westerback <krw@openbsd.org> # @@ -68,7 +68,7 @@ delete_old_routes() { fi # XXX BOUND RENEW REBIND REBOOT did not /dev/null output before. - arp -n -a | sed -n -e 's/^.*(\(.*\)) at .*$/arp -d \1/p' | sh >/dev/null 2>&1 + arp -dan } add_new_routes() { |