nat: add dummy nat_ha_resync() to avoid missing symbol errors 14/29214/2
authorDamjan Marion <damarion@cisco.com>
Fri, 2 Oct 2020 10:13:08 +0000 (12:13 +0200)
committerDamjan Marion <dmarion@me.com>
Fri, 2 Oct 2020 12:28:36 +0000 (12:28 +0000)
Type: fix
Change-Id: I288e93da192cf48b3d774e36584d471d4daa2727
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/plugins/nat/nat_ha.c

index 8bf0775..11b4ba8 100644 (file)
@@ -1124,6 +1124,13 @@ nat_ha_handoff_node_fn (vlib_main_t * vm, vlib_node_runtime_t * node,
   return frame->n_vectors;
 }
 
+int
+nat_ha_resync (u32 client_index, u32 pid,
+              nat_ha_resync_event_cb_t event_callback)
+{
+  return 0;
+}
+
 /* *INDENT-OFF* */
 VLIB_REGISTER_NODE (nat_ha_handoff_node) = {
   .function = nat_ha_handoff_node_fn,