summaryrefslogtreecommitdiff
path: root/proto/rip
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-03-26 21:31:57 +0000
committerPavel Machek <pavel@ucw.cz>2000-03-26 21:31:57 +0000
commit6480dd08803bc46bcd19b466ac6c499699d17448 (patch)
tree60ce80eff342ab648d2332bd51b9d4c423a16722 /proto/rip
parent8c86f96fa6f783326455f8a8d88a242cd8dd9f1b (diff)
I broke compilation. Sorry.
Diffstat (limited to 'proto/rip')
-rw-r--r--proto/rip/rip.c2
1 files changed, 1 insertions, 1 deletions
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 );
}