diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-04-07 16:27:09 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-04-07 16:27:09 +0000 |
commit | c8bfebfc89184a770ae38e3e1acec01b9d1a9afe (patch) | |
tree | 1932c7fcd6def382356e8beff2f8abdf6f995d4d /sbin/dhclient | |
parent | f5d6216e3878d1ff8c5b04b6e798307061b448b3 (diff) |
fix a logic botch in discover_interfaces that prevented dhclient to see
any but the first real interface
found yesterday evening at RATT when dhclient would not get me a lease on
wireless
Diffstat (limited to 'sbin/dhclient')
-rw-r--r-- | sbin/dhclient/dispatch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/dispatch.c b/sbin/dhclient/dispatch.c index f2eee05921c..275a62792ec 100644 --- a/sbin/dhclient/dispatch.c +++ b/sbin/dhclient/dispatch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dispatch.c,v 1.22 2004/03/02 18:49:21 deraadt Exp $ */ +/* $OpenBSD: dispatch.c,v 1.23 2004/04/07 16:27:08 henning Exp $ */ /* * Copyright 2004 Henning Brauer <henning@openbsd.org> @@ -80,7 +80,7 @@ discover_interfaces(struct interface_info *iface) continue; if (strcmp(iface->name, ifa->ifa_name)) - break; + continue; /* * If we have the capability, extract link information |