summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>2017-08-10 13:06:05 +0200
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>2017-08-10 13:06:05 +0200
commit5699a2036cfb32cb3a683814f83242eb21e40d02 (patch)
tree76dd02afafb26d5b2518a148519904902d166a32
parent9b776458efdfae0c30b97f3670a1f4646221f072 (diff)
Less confusing log message
A non-primary address isn't necessarily secondary, that's an independent flag.
-rw-r--r--nest/iface.c2
1 files changed, 1 insertions, 1 deletions
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);