diff options
Diffstat (limited to 'src/ndp.c')
-rw-r--r-- | src/ndp.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -361,11 +361,12 @@ static void setup_addr_for_relaying(struct in6_addr *addr, struct interface *ifa if (iface == c || c->ndp != MODE_RELAY) continue; - if (netlink_setup_proxy_neigh(addr, c->ifindex, add)) - syslog(LOG_ERR, "Failed to %s proxy neighbour entry %s on %s", - add ? "add" : "delete", ipbuf, c->name); - else + if (netlink_setup_proxy_neigh(addr, c->ifindex, add)) { + if (add) + syslog(LOG_ERR, "Failed to add proxy neighbour entry %s on %s", + ipbuf, c->name); + } else syslog(LOG_DEBUG, "%s proxy neighbour entry %s on %s", - add ? "Added" : "Deleted", ipbuf, c->name); + add ? "Added" : "Deleted", ipbuf, c->name); } } |