From: Roy Marples Date: Tue, 21 May 2013 12:34:06 +0000 (+0000) Subject: Don't warn about invalid xid if we're already bound. X-Git-Tag: v5.99.7~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d671c07e627e9182058429261478e35a3fe0c156;p=thirdparty%2Fdhcpcd.git Don't warn about invalid xid if we're already bound. --- diff --git a/dhcp6.c b/dhcp6.c index 9d1e81fe..66a13263 100644 --- 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] ||