]> git.decadent.org.uk Git - odhcp6c.git/commitdiff
Handle NoAddrsAvail IA-status
authorSteven Barth <steven@midlink.org>
Sat, 21 Sep 2013 10:49:05 +0000 (12:49 +0200)
committerSteven Barth <steven@midlink.org>
Sat, 21 Sep 2013 10:49:05 +0000 (12:49 +0200)
src/dhcpv6.c

index ee2031d1a81d8abc999a9625235a5ea69fc631c3..f128ed88fa52e82a064c9c4065a4dbc14dd4a4a7 100644 (file)
@@ -755,7 +755,8 @@ static int dhcpv6_handle_reply(enum dhcpv6_msg orig,
 
                        if (error) {
                                syslog(LOG_WARNING, "Server returned IAID status %i!", error);
-                               raise(SIGUSR2);
+                               if (error != 2)
+                                       raise(SIGUSR2);
                                break;
                        }