]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Only free other ARP states if not assinging an IPv4LL address.
authorRoy Marples <roy@marples.name>
Sun, 16 Nov 2014 18:43:02 +0000 (18:43 +0000)
committerRoy Marples <roy@marples.name>
Sun, 16 Nov 2014 18:43:02 +0000 (18:43 +0000)
dhcp.c

diff --git a/dhcp.c b/dhcp.c
index 97dd1b89b34031263e97074581d49feef06b83c8..9fd182f1831989d5bb0de25b64b0ab8f6e72e017 100644 (file)
--- a/dhcp.c
+++ b/dhcp.c
@@ -1972,7 +1972,8 @@ applyaddr:
                        }
                        if (astate) {
                                arp_announce(astate);
-                               arp_free_but(astate);
+                               if (!ipv4ll)
+                                       arp_free_but(astate);
                        }
                } else if (!ipv4ll)
                        arp_close(ifp);