mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-06 01:40:42 +01: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)
|
||||
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 New Issue
Block a user