From 5699a2036cfb32cb3a683814f83242eb21e40d02 Mon Sep 17 00:00:00 2001 From: Michal 'vorner' Vaner Date: Thu, 10 Aug 2017 13:06:05 +0200 Subject: Less confusing log message A non-primary address isn't necessarily secondary, that's an independent flag. --- nest/iface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nest') diff --git a/nest/iface.c b/nest/iface.c index a23cdf4f..addb1363 100644 --- a/nest/iface.c +++ b/nest/iface.c @@ -142,7 +142,7 @@ ifa_send_notify(struct proto *p, unsigned c, struct ifa *a) { if (p->debug & D_IFACES) log(L_TRACE "%s < %s address %I/%d on interface %s %s", - p->name, (a->flags & IA_PRIMARY) ? "primary" : "secondary", + p->name, (a->flags & IA_PRIMARY) ? "primary" : "non-primary", a->prefix, a->pxlen, a->iface->name, (c & IF_CHANGE_UP) ? "added" : "removed"); p->ifa_notify(p, c, a); -- cgit v1.2.3