summaryrefslogtreecommitdiff
path: root/nest/neighbor.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-08-27 18:25:46 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2009-08-27 18:25:46 +0200
commit061ab802a67cfc336785f6daeecdcbd4910734ed (patch)
treea3815a619b1e3e553638e4aad6508757e5bc6f7a /nest/neighbor.c
parentb49e6f5a65d437cb7e7bdefe8397e0f550496012 (diff)
Temporary OSPFv3 development commit
Diffstat (limited to 'nest/neighbor.c')
-rw-r--r--nest/neighbor.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/nest/neighbor.c b/nest/neighbor.c
index 2c5af6a6..01dd2ada 100644
--- a/nest/neighbor.c
+++ b/nest/neighbor.c
@@ -103,6 +103,12 @@ if_connected(ip_addr *a, struct iface *i) /* -1=error, 1=match, 0=no match */
neighbor *
neigh_find(struct proto *p, ip_addr *a, unsigned flags)
{
+ return neigh_find2(p, a, NULL, flags);
+}
+
+neighbor *
+neigh_find2(struct proto *p, ip_addr *a, unsigned flags)
+{
neighbor *n;
int class, scope = SCOPE_HOST;
unsigned int h = neigh_hash(p, a);