From 200accf396b869267fd707b56afddb27d8479acc Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 27 Mar 2000 12:16:37 +0000 Subject: if_connected() is again private. Introduced neigh_connected_to() to serve the same purpose efficiently. --- nest/neighbor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nest/neighbor.c') diff --git a/nest/neighbor.c b/nest/neighbor.c index 5750f8c..c4328b6 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); } -int +static int if_connected(ip_addr *a, struct iface *i) /* -1=error, 1=match, 0=no match */ { struct ifa *b; -- cgit v1.2.3