summaryrefslogtreecommitdiffstats
path: root/src/vnet/ip-neighbor
diff options
context:
space:
mode:
authorStanislav Zaikin <zstaseg@gmail.com>2022-04-25 19:11:36 +0200
committerMatthew Smith <mgsmith@netgate.com>2022-04-26 21:55:01 +0000
commit3bad8b62d87513c5f4004c3172551c8785c78e65 (patch)
tree26ae52d6de600843bcdc564017ff35c3afc5519f /src/vnet/ip-neighbor
parentc69655e3bd0b876408c160c369f39120f71c2038 (diff)
linux-cp: sync addr and neigh only for lcp interfaces
Type: fix Signed-off-by: Stanislav Zaikin <zstaseg@gmail.com> Change-Id: I792467b73449074e59c4232b1f82d134c399624c
Diffstat (limited to 'src/vnet/ip-neighbor')
-rw-r--r--src/vnet/ip-neighbor/ip_neighbor.c2
-rw-r--r--src/vnet/ip-neighbor/ip_neighbor.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/ip-neighbor/ip_neighbor.c b/src/vnet/ip-neighbor/ip_neighbor.c
index 6c97356dd98..6ba191abaf6 100644
--- a/src/vnet/ip-neighbor/ip_neighbor.c
+++ b/src/vnet/ip-neighbor/ip_neighbor.c
@@ -1204,7 +1204,7 @@ ip_neighbor_flush (ip_address_family_t af, u32 sw_if_index)
vec_free (ipnis);
}
-static walk_rc_t
+walk_rc_t
ip_neighbor_mark_one (index_t ipni, void *ctx)
{
ip_neighbor_t *ipn;
diff --git a/src/vnet/ip-neighbor/ip_neighbor.h b/src/vnet/ip-neighbor/ip_neighbor.h
index 064569b56ce..17028012dfd 100644
--- a/src/vnet/ip-neighbor/ip_neighbor.h
+++ b/src/vnet/ip-neighbor/ip_neighbor.h
@@ -60,6 +60,7 @@ extern void ip_neighbor_probe_dst (u32 sw_if_index,
extern void ip_neighbor_mark (ip_address_family_t af);
extern void ip_neighbor_sweep (ip_address_family_t af);
+extern walk_rc_t ip_neighbor_mark_one (index_t ipni, void *ctx);
/**
* From the watcher to the API to publish a new neighbor