diff options
author | Pavel Machek <pavel@ucw.cz> | 1998-07-28 23:42:08 +0200 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 1998-07-28 23:42:08 +0200 |
commit | 48b41d58112737f87f1217414291e61f5430f611 (patch) | |
tree | 1cd437a973b5f9db4c548758d7765a11070a0648 /nest | |
parent | a872b0f7dae38cfef574d0d3b30609e968cdf95b (diff) | |
download | bird-48b41d58112737f87f1217414291e61f5430f611.tar bird-48b41d58112737f87f1217414291e61f5430f611.zip |
Do not segfault on iface == NULL.
Diffstat (limited to 'nest')
-rw-r--r-- | nest/rt-attr.c | 2 |
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 |