From: Roy Marples Date: Tue, 11 Jun 2013 10:13:19 +0000 (+0000) Subject: When releasing, remove the delegated addresses. X-Git-Tag: v6.0.0~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=98f601862a823b188d6947683ab695421aee9af4;p=thirdparty%2Fdhcpcd.git When releasing, remove the delegated addresses. --- diff --git a/dhcp6.c b/dhcp6.c index a57df277..dfc8848d 100644 --- a/dhcp6.c +++ b/dhcp6.c @@ -2358,6 +2358,7 @@ dhcp6_freedrop(struct interface *ifp, int drop, const char *reason) if (ifp->options->options & DHCPCD_RELEASE) { if (ifp->carrier != LINK_DOWN) dhcp6_startrelease(ifp); + dhcp6_delete_delegates(ifp); unlink(state->leasefile); } dhcp6_freedrop_addrs(ifp, drop, NULL);