LISP: clean DP when deleting locators in use
Change-Id: Ia8736916bf59006bc581fe477db51ddd6bcc15e5
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
diff --git a/src/tests/vnet/lisp-cp/test_cp_serdes.c b/src/tests/vnet/lisp-cp/test_cp_serdes.c
index 0c7d6fd..0766bee 100644
--- a/src/tests/vnet/lisp-cp/test_cp_serdes.c
+++ b/src/tests/vnet/lisp-cp/test_cp_serdes.c
@@ -395,7 +395,7 @@
mapping_t * records = 0;
mapping_t r = {
- .ttl = 0x44332211,
+ .ttl = MAP_REGISTER_DEFAULT_TTL,
.eid = {
.type = GID_ADDR_MAC,
.mac = {1, 2, 3, 4, 5, 6},
@@ -472,7 +472,7 @@
0x00, 0x00, 0x00, 0x00, /* auth data */
/* first record */
- 0x44, 0x33, 0x22, 0x11, /* ttl */
+ 0x00, 0x00, 0x03, 0x84, /* default ttl (15 minues) */
0x01, 0x00, 0x00, 0x00, /* loc count, eid len, ACT, A */
0x00, 0x00, 0x40, 0x05, /* rsvd, map ver num, AFI = MAC */
0x01, 0x02, 0x03, 0x04,