summaryrefslogtreecommitdiff
path: root/nest
diff options
context:
space:
mode:
Diffstat (limited to 'nest')
-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 fa92d665..9f7fd2b8 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