Commit 05a845ed authored by Pavel Machek's avatar Pavel Machek
Browse files

Avoid segfault

parent 7972248d
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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;