diff options
author | Pavel Machek <pavel@ucw.cz> | 1999-03-02 20:49:22 +0100 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 1999-03-02 20:49:22 +0100 |
commit | 05a845ed8e623c51025058037d0ca25db712ae68 (patch) | |
tree | 003401a2fbd03dfdf4b63baa643d57c0a310a597 /proto/rip | |
parent | 7972248d5d7f404a65fd630b2af712703aca0746 (diff) | |
download | bird-05a845ed8e623c51025058037d0ca25db712ae68.tar bird-05a845ed8e623c51025058037d0ca25db712ae68.zip |
Avoid segfault
Diffstat (limited to 'proto/rip')
-rw-r--r-- | proto/rip/rip.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/proto/rip/rip.c b/proto/rip/rip.c index 9c04cf4..593f32b 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; |