]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Less confusing log message
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>
Thu, 10 Aug 2017 11:06:05 +0000 (13:06 +0200)
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>
Thu, 10 Aug 2017 11:06:05 +0000 (13:06 +0200)
A non-primary address isn't necessarily secondary, that's an independent
flag.

nest/iface.c

index a23cdf4fc8a67f330aa83fe794a6364f4dd23f79..addb13637dc65befadaa6cd27121f24859568f6d 100644 (file)
@@ -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);