summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2020-10-02 12:13:08 +0200
committerDamjan Marion <dmarion@me.com>2020-10-02 12:28:36 +0000
commite2042e6b7b5f5ecb6ec68e6dac39626e636c51b9 (patch)
tree5e406844da2023c6036fb20c275cd2cc478d313b /src/plugins/nat
parentc71b56dd5c3127af14eaf22b64d4ef68843dbbb3 (diff)
nat: add dummy nat_ha_resync() to avoid missing symbol errors
Type: fix Change-Id: I288e93da192cf48b3d774e36584d471d4daa2727 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/nat')
-rw-r--r--src/plugins/nat/nat_ha.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/nat/nat_ha.c b/src/plugins/nat/nat_ha.c
index 8bf07759f68..11b4ba82a17 100644
--- a/src/plugins/nat/nat_ha.c
+++ b/src/plugins/nat/nat_ha.c
@@ -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,