]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix compile issue with prior
authorRoy Marples <roy@marples.name>
Mon, 22 Jul 2019 09:41:16 +0000 (10:41 +0100)
committerRoy Marples <roy@marples.name>
Mon, 22 Jul 2019 09:41:16 +0000 (10:41 +0100)
src/dhcp.c

index 9a83dc6a4a569faa937e97ee07b7329294b51509..812651a3c1cf70d7f717ce4a15bd94942dd2a7cc 100644 (file)
@@ -2347,7 +2347,7 @@ dhcp_arp_address(struct interface *ifp)
                        get_lease(ifp, &l, state->offer, state->offer_len);
                        /* Add the address now, let the kernel handle DAD. */
                        ipv4_addaddr(ifp, &l.addr, &l.mask, &l.brd,
-                           l.leasetime, l.leastime);
+                           l.leasetime, l.leasetime);
                } else
                        loginfox("%s: waiting for DAD on %s",
                            ifp->name, inet_ntoa(addr));