aboutsummaryrefslogtreecommitdiffstats
path: root/vnet/test/lisp-cp/test_cp_serdes.c
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2016-12-05 12:37:15 +0100
committerFlorin Coras <florin.coras@gmail.com>2016-12-06 15:54:13 +0000
commitf3bd5716c1e2dfb1063a0abb0b2fdaf0bccf159f (patch)
treef72f3f15cb8ff03de423deee85991af374018199 /vnet/test/lisp-cp/test_cp_serdes.c
parent2a3e0ea4354d5363af2d4918801a497a4e1f6658 (diff)
Fix length in LCAF header
Change-Id: I56461c5d892ce223d1160fb57313ca1c51db9a23 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'vnet/test/lisp-cp/test_cp_serdes.c')
-rw-r--r--vnet/test/lisp-cp/test_cp_serdes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vnet/test/lisp-cp/test_cp_serdes.c b/vnet/test/lisp-cp/test_cp_serdes.c
index 2d1cf06269b..5343d0e47dc 100644
--- a/vnet/test/lisp-cp/test_cp_serdes.c
+++ b/vnet/test/lisp-cp/test_cp_serdes.c
@@ -318,7 +318,7 @@ static clib_error_t * test_lisp_msg_put_mreq_with_lcaf ()
0x00, 0x00, /* reserved1, flags */
0x02, /* type = Instance ID */
0x17, /* IID mask-len */
- 0x00, 0x0a, /* iid length + next AFI lenght */
+ 0x00, 0x0a, /* lenght */
0x90, 0x91, 0x92, 0x93, /* IID / VNI */
0x00, 0x01, /* AFI = ipv4 */
@@ -522,7 +522,7 @@ test_lisp_parse_lcaf ()
0x00, 0x00, /* reserved1, flags */
0x02, /* type = Instance ID */
0x18, /* IID mask-len */
- 0x0a, 0x00, /* iid length + next AFI lenght */
+ 0x00, 0x0a, /* lenght */
/* LCAF Instance ID */
0x00, 0x00, 0x00, 0x09, /* iid */
0x00, 0x01, /* AFI = ipv4 */