summaryrefslogtreecommitdiff
path: root/nest/neighbor.c
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-03-26 18:00:45 +0000
committerPavel Machek <pavel@ucw.cz>2000-03-26 18:00:45 +0000
commit697711be2cf6b5da140b8c12c301affa53488021 (patch)
tree4af82ac70bfa924e1906782829276d6cbe12d4f4 /nest/neighbor.c
parent9ee07ca53fd94ad72b7cb2776cc15f13a026a910 (diff)
if_connected is usefull outside of neighbour cache.
Diffstat (limited to 'nest/neighbor.c')
-rw-r--r--nest/neighbor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/neighbor.c b/nest/neighbor.c
index c4328b6c..5750f8cf 100644
--- a/nest/neighbor.c
+++ b/nest/neighbor.c
@@ -24,7 +24,7 @@ neigh_hash(struct proto *p, ip_addr *a)
return (p->hash_key ^ ipa_hash(*a)) & (NEIGH_HASH_SIZE-1);
}
-static int
+int
if_connected(ip_addr *a, struct iface *i) /* -1=error, 1=match, 0=no match */
{
struct ifa *b;