diff options
Diffstat (limited to 'proto')
-rw-r--r-- | proto/rip/rip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/rip/rip.c b/proto/rip/rip.c index 1ba1a24..f51773f 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 ); } |