summaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-cp/control.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2018-10-23 07:59:24 -0700
committerDamjan Marion <dmarion@me.com>2018-10-23 18:59:33 +0000
commit81c0585ba98a6a2ca40a445ed9f81106ad6476df (patch)
treeb692b8042014c5176b2b8cfd9ca05aa72b4c9917 /src/vnet/lisp-cp/control.c
parent95276ca5ca0a97ea7e0b5828f434743b6a745274 (diff)
lisp: register cp port only if enabled
Change-Id: I7030951215f0cf7d00c037892ac92d9c304cb5a1 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/lisp-cp/control.c')
-rw-r--r--src/vnet/lisp-cp/control.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vnet/lisp-cp/control.c b/src/vnet/lisp-cp/control.c
index a432783ddd8..ca71bf885cf 100644
--- a/src/vnet/lisp-cp/control.c
+++ b/src/vnet/lisp-cp/control.c
@@ -4489,8 +4489,6 @@ lisp_cp_init (vlib_main_t * vm)
hash_set (lcm->table_id_by_vni, 0, 0);
hash_set (lcm->vni_by_table_id, 0, 0);
- lisp_cp_register_dst_port (vm);
-
u64 now = clib_cpu_time_now ();
timing_wheel_init (&lcm->wheel, now, vm->clib_time.clocks_per_second);
lcm->nsh_map_index = ~0;