summaryrefslogtreecommitdiffstats
path: root/src/ipv6.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2018-08-17 17:38:28 +0100
committerRoy Marples <roy@marples.name>2018-08-17 17:38:28 +0100
commite5b3f0d2e309002f9f19afe47ac0a4097ee69387 (patch)
treedd917b013c028a305913b2c1b3e8e7a943ea4b8a /src/ipv6.c
parentbb2650558bbb6f6c7dff6e334c06c05dfbce7bb3 (diff)
downloaddhcpcd-e5b3f0d2e309002f9f19afe47ac0a4097ee69387.tar.xz
BSD: Silence debug when address no longer exists when getting flags
Diffstat (limited to 'src/ipv6.c')
-rw-r--r--src/ipv6.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ipv6.c b/src/ipv6.c
index 2d516d99..8a2cb9f8 100644
--- a/src/ipv6.c
+++ b/src/ipv6.c
@@ -567,7 +567,8 @@ ipv6_checkaddrflags(void *arg)
alias = NULL;
#endif
if ((flags = if_addrflags6(ia->iface, &ia->addr, alias)) == -1) {
- logerr("%s: if_addrflags6", ia->iface->name);
+ if (errno != EEXIST && errno != EADDRNOTAVAIL)
+ logerr("%s: if_addrflags6", __func__);
return;
}