summaryrefslogtreecommitdiff
path: root/proto/rip/rip.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto/rip/rip.c')
-rw-r--r--proto/rip/rip.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/proto/rip/rip.c b/proto/rip/rip.c
index 9c04cf4c..593f32b7 100644
--- a/proto/rip/rip.c
+++ b/proto/rip/rip.c
@@ -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;