I broke compilation. Sorry.

This commit is contained in:
Pavel Machek 2000-03-26 21:31:57 +00:00
parent 8c86f96fa6
commit 6480dd0880
2 changed files with 2 additions and 2 deletions

View file

@ -121,7 +121,7 @@ void neigh_if_up(struct iface *);
void neigh_if_down(struct iface *); void neigh_if_down(struct iface *);
void neigh_init(struct pool *); void neigh_init(struct pool *);
extern int if_connected(ip_addr *a, struct iface *i) /* -1=error, 1=match, 0=no match */ extern int if_connected(ip_addr *a, struct iface *i); /* -1=error, 1=match, 0=no match */
/* /*
* Interface Pattern Lists * Interface Pattern Lists

View file

@ -101,7 +101,7 @@ rip_tx_prepare(struct proto *p, ip_addr daddr, struct rip_block *b, struct rip_e
b->pxlen = e->n.pxlen; b->pxlen = e->n.pxlen;
#endif #endif
b->metric = htonl( e->metric ); b->metric = htonl( e->metric );
if (if_connected(e->whotoldme, rif->iface)) { if (if_connected(&e->whotoldme, rif->iface)) {
DBG( "(split horizon)" ); DBG( "(split horizon)" );
b->metric = htonl( P_CF->infinity ); b->metric = htonl( P_CF->infinity );
} }