]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Avoid segfault
authorPavel Machek <pavel@ucw.cz>
Tue, 2 Mar 1999 19:49:22 +0000 (19:49 +0000)
committerPavel Machek <pavel@ucw.cz>
Tue, 2 Mar 1999 19:49:22 +0000 (19:49 +0000)
proto/rip/rip.c

index 9c04cf4c59fab7d14410e0ec2a99670eeb98a86d..593f32b737148ca7526de55067bc19e939c24d2a 100644 (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;