Avoid segfault

This commit is contained in:
Pavel Machek 1999-03-02 19:49:22 +00:00
parent 7972248d5d
commit 05a845ed8e

View file

@ -368,10 +368,8 @@ rip_timer(timer *t)
WALK_LIST( rif, P->interfaces ) {
struct iface *iface = rif->iface;
if (rif->patt->mode == IM_QUIET)
continue;
if (!iface) continue;
if (rif->patt->mode == IM_QUIET) continue;
if (!(iface->flags & IF_UP)) continue;
if (iface->flags & (IF_IGNORE | IF_LOOPBACK)) continue;