]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Iface address debug dump fix
authorJan Moskyto Matejka <mq@ucw.cz>
Mon, 21 Aug 2017 12:14:07 +0000 (14:14 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 17 Oct 2017 14:52:18 +0000 (16:52 +0200)
nest/iface.c

index 00af5052926ff8343cafbaf812224fd6648c073a..f14e70a0bf7ec40e6f71c99e61d2840c99257017 100644 (file)
@@ -46,10 +46,11 @@ list iface_list;
 void
 ifa_dump(struct ifa *a)
 {
-  debug("\t%I, net %N bc %I -> %I%s%s%s\n", a->ip, &a->prefix, a->brd, a->opposite,
-       (a->flags & IF_UP) ? "" : " DOWN",
-       (a->flags & IA_PRIMARY) ? "" : " SEC",
-       (a->flags & IA_PEER) ? "PEER" : "");
+  debug("\t%I, net %N bc %I -> %I%s%s%s%s\n", a->ip, &a->prefix, a->brd, a->opposite,
+       (a->flags & IA_PRIMARY) ? " PRIMARY" : "",
+       (a->flags & IA_SECONDARY) ? " SEC" : "",
+       (a->flags & IA_HOST) ? " HOST" : "",
+       (a->flags & IA_PEER) ? " PEER" : "");
 }
 
 /**