summaryrefslogtreecommitdiffstats
path: root/src/tests/vnet/lisp-cp
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2017-04-21 12:05:58 +0200
committerFlorin Coras <florin.coras@gmail.com>2017-04-25 07:40:43 +0000
commit68d2e24fbba2ab67eaaec1192db827325fc9068e (patch)
tree0cdc29198db723ce04f20961241455fa91acd746 /src/tests/vnet/lisp-cp
parent1664f9ba4a154f6d11870e0bb9fdaa527b5afbaf (diff)
LISP: clean DP when deleting locators in use
Change-Id: Ia8736916bf59006bc581fe477db51ddd6bcc15e5 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/tests/vnet/lisp-cp')
-rw-r--r--src/tests/vnet/lisp-cp/test_cp_serdes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/vnet/lisp-cp/test_cp_serdes.c b/src/tests/vnet/lisp-cp/test_cp_serdes.c
index 0c7d6fd0622..0766bee11ad 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 @@ build_test_map_records ()
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 @@ test_lisp_map_register ()
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,