diff options
| author | Roy Marples <roy@marples.name> | 2016-09-05 20:11:44 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2016-09-05 20:11:44 +0000 |
| commit | 41c70c8c474859124d312e2f1ef0578cfbbbf32b (patch) | |
| tree | 8475563df902381ff0c3c6110161060b61d23897 /ipv6.c | |
| parent | b1fa020896cff90b6be3e06637d040915089f4cc (diff) | |
| download | dhcpcd-41c70c8c474859124d312e2f1ef0578cfbbbf32b.tar.xz | |
Dodge more errors when deleting not available anymore.
Diffstat (limited to 'ipv6.c')
| -rw-r--r-- | ipv6.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -601,8 +601,9 @@ ipv6_deleteaddr(struct ipv6_addr *ia) logger(ia->iface->ctx, LOG_INFO, "%s: deleting address %s", ia->iface->name, ia->saddr); if (if_address6(RTM_DELADDR, ia) == -1 && - errno != EADDRNOTAVAIL && errno != ENXIO && errno != ENODEV) - logger(ia->iface->ctx, LOG_ERR, "if_address6: :%m"); + errno != EADDRNOTAVAIL && errno != ESRCH && + errno != ENXIO && errno != ENODEV) + logger(ia->iface->ctx, LOG_ERR, "if_address6: %m"); /* NOREJECT is set if we delegated exactly the prefix to another * address. |
