mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-08 12:18:42 +00:00
Avoid segfault
This commit is contained in:
parent
7972248d5d
commit
05a845ed8e
@ -368,10 +368,8 @@ rip_timer(timer *t)
|
|||||||
WALK_LIST( rif, P->interfaces ) {
|
WALK_LIST( rif, P->interfaces ) {
|
||||||
struct iface *iface = rif->iface;
|
struct iface *iface = rif->iface;
|
||||||
|
|
||||||
if (rif->patt->mode == IM_QUIET)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
if (!iface) continue;
|
if (!iface) continue;
|
||||||
|
if (rif->patt->mode == IM_QUIET) continue;
|
||||||
if (!(iface->flags & IF_UP)) continue;
|
if (!(iface->flags & IF_UP)) continue;
|
||||||
if (iface->flags & (IF_IGNORE | IF_LOOPBACK)) continue;
|
if (iface->flags & (IF_IGNORE | IF_LOOPBACK)) continue;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user