0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 17:51:53 +00:00

Small fixes to rip.

This commit is contained in:
Pavel Machek 1999-05-31 19:37:16 +00:00
parent bf97bd2827
commit 72efa4b6f8

View File

@ -370,7 +370,6 @@ rip_timer(timer *t)
if (!iface) continue; if (!iface) continue;
if (rif->patt->mode & IM_QUIET) continue; if (rif->patt->mode & IM_QUIET) continue;
if (!(iface->flags & IF_UP)) continue; if (!(iface->flags & IF_UP)) continue;
if (iface->flags & (IF_IGNORE | IF_LOOPBACK)) continue;
rip_sendto( p, IPA_NONE, 0, rif ); 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; struct rip_interface *rif;
int want_multicast = 0; 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->iface = new;
rif->proto = p; rif->proto = p;
rif->busy = NULL; rif->busy = NULL;