From 080d9e4ce25f8f14e61ba0a81d5385bf8de3e48f Mon Sep 17 00:00:00 2001 From: Michal 'vorner' Vaner Date: Thu, 10 Aug 2017 14:35:14 +0200 Subject: Nicer log output non-primary is ugly, just omit it (and use primary in the other case). --- nest/iface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nest/iface.c') 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); -- cgit v1.2.3