mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Do not segfault on iface == NULL.
This commit is contained in:
parent
a872b0f7da
commit
48b41d5811
@ -148,7 +148,7 @@ rta_dump(rta *a)
|
|||||||
if (a->dest == RTD_ROUTER)
|
if (a->dest == RTD_ROUTER)
|
||||||
debug(" ->%I", a->gw);
|
debug(" ->%I", a->gw);
|
||||||
if (a->dest == RTD_DEVICE || a->dest == RTD_ROUTER)
|
if (a->dest == RTD_DEVICE || a->dest == RTD_ROUTER)
|
||||||
debug(" [%s]", a->iface->name);
|
debug(" [%s]", a->iface ? a->iface->name : "???" );
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user