summaryrefslogtreecommitdiffstats
path: root/proto/rip/rip.c
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1999-05-31 21:37:16 +0200
committerPavel Machek <pavel@ucw.cz>1999-05-31 21:37:16 +0200
commit72efa4b6f82222f91b63b9f61bbc88e458096ea7 (patch)
tree0ba18b1d6e4991a0a137cc340f13bb158aa9eeb0 /proto/rip/rip.c
parentbf97bd28276af42aa59ea29b926b4848ae14e149 (diff)
downloadbird-72efa4b6f82222f91b63b9f61bbc88e458096ea7.tar
bird-72efa4b6f82222f91b63b9f61bbc88e458096ea7.zip
Small fixes to rip.
Diffstat (limited to 'proto/rip/rip.c')
-rw-r--r--proto/rip/rip.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/proto/rip/rip.c b/proto/rip/rip.c
index 43655c2..144bc7c 100644
--- a/proto/rip/rip.c
+++ b/proto/rip/rip.c
@@ -370,7 +370,6 @@ rip_timer(timer *t)
if (!iface) continue;
if (rif->patt->mode & IM_QUIET) continue;
if (!(iface->flags & IF_UP)) continue;
- if (iface->flags & (IF_IGNORE | IF_LOOPBACK)) continue;
rip_sendto( p, IPA_NONE, 0, rif );
}
@@ -461,7 +460,7 @@ new_iface(struct proto *p, struct iface *new, unsigned long flags, struct iface_
struct rip_interface *rif;
int want_multicast = 0;
- rif = mb_alloc(p->pool, sizeof( struct rip_interface ));
+ rif = mb_allocz(p->pool, sizeof( struct rip_interface ));
rif->iface = new;
rif->proto = p;
rif->busy = NULL;