From: Roy Marples Date: Wed, 29 Jan 2020 17:06:34 +0000 (+0000) Subject: BSD: Don't log an error failing to get inet6 adress flags X-Git-Tag: v9.0.0~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4f644e98745635f391cea045ef609624ca144af;p=thirdparty%2Fdhcpcd.git BSD: Don't log an error failing to get inet6 adress flags When the interface departs and we're validating route messages. This mirrors inet. --- diff --git a/src/if-bsd.c b/src/if-bsd.c index 534e2f45..b14650ce 100644 --- a/src/if-bsd.c +++ b/src/if-bsd.c @@ -1448,7 +1448,7 @@ if_ifa(struct dhcpcd_ctx *ctx, const struct ifa_msghdr *ifam) */ flags = if_addrflags6(ifp, &addr6, NULL); if (flags == -1) { - if (errno != EADDRNOTAVAIL) + if (errno != ENXIO && errno != EADDRNOTAVAIL) logerr("%s: if_addrflags6", __func__); if (ifam->ifam_type != RTM_DELADDR) break;