summaryrefslogtreecommitdiff
path: root/nest
diff options
context:
space:
mode:
Diffstat (limited to 'nest')
-rw-r--r--nest/iface.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/nest/iface.c b/nest/iface.c
index 00af5052..f14e70a0 100644
--- a/nest/iface.c
+++ b/nest/iface.c
@@ -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" : "");
}
/**