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
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 );
}