Unverified Commit 080d9e4c authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

Nicer log output

non-primary is ugly, just omit it (and use primary in the other case).
parent 5699a203
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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" : "non-primary",
	    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);