Do not segfault on iface == NULL.
This commit is contained in:
parent
a872b0f7da
commit
48b41d5811
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue