From 68d2e24fbba2ab67eaaec1192db827325fc9068e Mon Sep 17 00:00:00 2001 From: Filip Tehlar Date: Fri, 21 Apr 2017 12:05:58 +0200 Subject: LISP: clean DP when deleting locators in use Change-Id: Ia8736916bf59006bc581fe477db51ddd6bcc15e5 Signed-off-by: Filip Tehlar --- src/tests/vnet/lisp-cp/test_cp_serdes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tests/vnet') 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, -- cgit 1.2.3-korg