diff options
author | Michal 'vorner' Vaner <michal.vaner@nic.cz> | 2017-08-10 14:35:14 +0200 |
---|---|---|
committer | Michal 'vorner' Vaner <michal.vaner@nic.cz> | 2017-08-10 14:35:14 +0200 |
commit | 080d9e4ce25f8f14e61ba0a81d5385bf8de3e48f (patch) | |
tree | 2dceaeec22e65bedacb1c151b80a78c8c008c288 /nest/iface.c | |
parent | 5699a2036cfb32cb3a683814f83242eb21e40d02 (diff) |
Nicer log output
non-primary is ugly, just omit it (and use primary in the other case).
Diffstat (limited to 'nest/iface.c')
-rw-r--r-- | nest/iface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/iface.c b/nest/iface.c index addb1363..ff362938 100644 --- a/nest/iface.c +++ b/nest/iface.c @@ -141,8 +141,8 @@ ifa_send_notify(struct proto *p, unsigned c, struct ifa *a) if (p->ifa_notify) { if (p->debug & D_IFACES) - log(L_TRACE "%s < %s address %I/%d on interface %s %s", - p->name, (a->flags & IA_PRIMARY) ? "primary" : "non-primary", + log(L_TRACE "%s <%s address %I/%d on interface %s %s", + p->name, (a->flags & IA_PRIMARY) ? " primary" : "", a->prefix, a->pxlen, a->iface->name, (c & IF_CHANGE_UP) ? "added" : "removed"); p->ifa_notify(p, c, a); |