diff options
author | Kevin Steves <stevesk@cvs.openbsd.org> | 2007-02-25 16:02:52 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@cvs.openbsd.org> | 2007-02-25 16:02:52 +0000 |
commit | c12cf2601f6d4ec7b15f5b4a04a4cd68ddf4304b (patch) | |
tree | dec1cdddb3bb7280e7a7ea94cfbdac1acf1bd67a | |
parent | 6f340d477e504a80ac683a0de3b426c89f2b8988 (diff) |
no need to quote/escape here; ok krw@
-rw-r--r-- | sbin/dhclient/dhclient-script | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/dhclient/dhclient-script b/sbin/dhclient/dhclient-script index f87459da070..70c0080a040 100644 --- a/sbin/dhclient/dhclient-script +++ b/sbin/dhclient/dhclient-script @@ -1,6 +1,6 @@ #!/bin/sh # -# $OpenBSD: dhclient-script,v 1.10 2006/06/03 19:30:06 mpf Exp $ +# $OpenBSD: dhclient-script,v 1.11 2007/02/25 16:02:51 stevesk Exp $ # # Copyright (c) 2003 Kenneth R Westerback <krw@openbsd.org> # @@ -173,9 +173,9 @@ BOUND|RENEW|REBIND|REBOOT) delete_old_routes fi fi - if [ "$reason" = BOUND ] || \ - [ "$reason" = REBOOT ] || \ - [ -z "$old_ip_address" ] || \ + if [ "$reason" = BOUND ] || + [ "$reason" = REBOOT ] || + [ -z "$old_ip_address" ] || [ "$old_ip_address" != "$new_ip_address" ]; then add_new_address add_new_routes |