diff options
author | Pavel Machek <pavel@ucw.cz> | 2000-03-26 21:31:57 +0000 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2000-03-26 21:31:57 +0000 |
commit | 6480dd08803bc46bcd19b466ac6c499699d17448 (patch) | |
tree | 60ce80eff342ab648d2332bd51b9d4c423a16722 | |
parent | 8c86f96fa6f783326455f8a8d88a242cd8dd9f1b (diff) |
I broke compilation. Sorry.
-rw-r--r-- | nest/iface.h | 2 | ||||
-rw-r--r-- | proto/rip/rip.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nest/iface.h b/nest/iface.h index 8540a4de..379f566c 100644 --- a/nest/iface.h +++ b/nest/iface.h @@ -121,7 +121,7 @@ void neigh_if_up(struct iface *); void neigh_if_down(struct iface *); 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 diff --git a/proto/rip/rip.c b/proto/rip/rip.c index 1ba1a24e..f51773f5 100644 --- a/proto/rip/rip.c +++ b/proto/rip/rip.c @@ -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; #endif b->metric = htonl( e->metric ); - if (if_connected(e->whotoldme, rif->iface)) { + if (if_connected(&e->whotoldme, rif->iface)) { DBG( "(split horizon)" ); b->metric = htonl( P_CF->infinity ); } |