]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Don't warn about invalid xid if we're already bound.
authorRoy Marples <roy@marples.name>
Tue, 21 May 2013 12:34:06 +0000 (12:34 +0000)
committerRoy Marples <roy@marples.name>
Tue, 21 May 2013 12:34:06 +0000 (12:34 +0000)
dhcp6.c

diff --git a/dhcp6.c b/dhcp6.c
index 9d1e81fe3412f246cb62867196af03547d1ff1bf..66a1326383ce47a1f3176a13d03d10b32e771f3a 100644 (file)
--- a/dhcp6.c
+++ b/dhcp6.c
@@ -1658,6 +1658,9 @@ dhcp6_handledata(__unused void *arg)
                    ifp->name);
                return;
        }
+       /* We're already bound and this message is for another machine */
+       if (state->state == DH6S_BOUND)
+               return;
 
        r = (struct dhcp6_message *)rcvhdr.msg_iov[0].iov_base;
        if (r->xid[0] != state->send->xid[0] ||