From 518cdfc1dbf5c61859f6faaf678e0bbed82755a6 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 28 Nov 2014 01:36:44 +0100 Subject: [PATCH] Be less picky when erroring out due to strange IA status-codes --- src/dhcpv6.c | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/src/dhcpv6.c b/src/dhcpv6.c index e857823..cb2aa76 100644 --- a/src/dhcpv6.c +++ b/src/dhcpv6.c @@ -1356,23 +1356,8 @@ static void dhcpv6_handle_ia_status_code(const enum dhcpv6_msg orig, } break; - case DHCPV6_NoAddrsAvail: - case DHCPV6_NoPrefixAvail: - switch (orig) { - case DHCPV6_MSG_REQUEST: - if (*ret != 0) - *ret = 0; - break; - default: - break; - } - break; - - case DHCPV6_NotOnLink: - // TODO handle not onlink in case of confirm - break; - default: + *ret = 0; break; } } -- 2.25.1