From: Roy Marples Date: Wed, 24 Sep 2014 10:15:36 +0000 (+0000) Subject: Use ctx options rather than ifp for lease dumping. X-Git-Tag: v6.4.6~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=81e8123e6e0c95930eb5961a15907be24e9fa663;p=thirdparty%2Fdhcpcd.git Use ctx options rather than ifp for lease dumping. --- diff --git a/dhcp6.c b/dhcp6.c index 7461ee9a..e1d9c7e9 100644 --- a/dhcp6.c +++ b/dhcp6.c @@ -2058,7 +2058,7 @@ dhcp6_readlease(struct interface *ifp) if (fd == -1) goto ex; - if (!(ifp->options->options & DHCPCD_DUMPLEASE) && + if (!(ifp->ctx->options & DHCPCD_DUMPLEASE) && state->expire != ND6_INFINITE_LIFETIME) { gettimeofday(&now, NULL);