summaryrefslogtreecommitdiffstats
path: root/nest/rt-attr.c
diff options
context:
space:
mode:
Diffstat (limited to 'nest/rt-attr.c')
-rw-r--r--nest/rt-attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/rt-attr.c b/nest/rt-attr.c
index fa92d66..9f7fd2b 100644
--- a/nest/rt-attr.c
+++ b/nest/rt-attr.c
@@ -148,7 +148,7 @@ rta_dump(rta *a)
if (a->dest == RTD_ROUTER)
debug(" ->%I", a->gw);
if (a->dest == RTD_DEVICE || a->dest == RTD_ROUTER)
- debug(" [%s]", a->iface->name);
+ debug(" [%s]", a->iface ? a->iface->name : "???" );
}
void