]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Ensure that IPv4LL leases are not frominfo when probed.
authorRoy Marples <roy@marples.name>
Thu, 19 Feb 2009 19:55:13 +0000 (19:55 +0000)
committerRoy Marples <roy@marples.name>
Thu, 19 Feb 2009 19:55:13 +0000 (19:55 +0000)
client.c

index 779cb0dd727c9118db66572b919158c11c1cb47b..f9f5c630cc20351276fe4952b99fecec8d936ad7 100644 (file)
--- a/client.c
+++ b/client.c
@@ -1041,6 +1041,7 @@ handle_timeout_fail(struct if_state *state, const struct options *options)
                {
                        logger(LOG_INFO, "probing for an IPV4LL address");
                        free(state->offer);
+                       lease->frominfo = 0;
                        state->offer = ipv4ll_get_dhcp(0);
                        gotlease = 0;
                }