Skip to content
Snippets Groups Projects
Verified Commit 5699a203 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

Less confusing log message

A non-primary address isn't necessarily secondary, that's an independent
flag.
parent 9b776458
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment