]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
I broke compilation. Sorry.
authorPavel Machek <pavel@ucw.cz>
Sun, 26 Mar 2000 21:31:57 +0000 (21:31 +0000)
committerPavel Machek <pavel@ucw.cz>
Sun, 26 Mar 2000 21:31:57 +0000 (21:31 +0000)
nest/iface.h
proto/rip/rip.c

index 8540a4deee27377ca14a0f14d58eb06de4e5ddb6..379f566c1cb8ca85f0e7490a39e9e7dcd482c8ef 100644 (file)
@@ -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
index 1ba1a24ea420d5c1e47528b07fb538b62a1e0938..f51773f5952d94248c28a266a08eb63f511a022d 100644 (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;
 #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 );
   }