From: Francois-Xavier Le Bail Date: Mon, 16 Dec 2024 10:32:24 +0000 (+0100) Subject: LISP: Fix a typo X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/29c260ea4397d0773d90363db164bc3dc9b0e099 LISP: Fix a typo Update the outputs of two tests accordingly. --- diff --git a/print-lisp.c b/print-lisp.c index a2a458b8..4476dfff 100644 --- a/print-lisp.c +++ b/print-lisp.c @@ -314,7 +314,7 @@ lisp_print(netdissect_options *ndo, const u_char *bp, u_int length) packet_offset += 16; break; default: - ND_PRINT(" [unsuported address family identifier %u]", + ND_PRINT(" [unsupported address family identifier %u]", eid_afi); /* * No support for LCAF right now. diff --git a/tests/lisp_invalid-v.out b/tests/lisp_invalid-v.out index fc24a9b9..45129afb 100644 --- a/tests/lisp_invalid-v.out +++ b/tests/lisp_invalid-v.out @@ -3,7 +3,7 @@ 3 record(s), Authentication SHA1, Authentication-Data: 0x0000: 4bbb 9614 a67a 8604 0407 7995 4537 1906 Authentication-Data: 0x0010: 836c d1d6 - Record TTL 1440, Authoritative, No-Action, Map Version: 0, [unsuported address family identifier 7680] + Record TTL 1440, Authoritative, No-Action, Map Version: 0, [unsupported address family identifier 7680] 2 2015-08-22 11:09:05.615558 IP (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto UDP (17), length 156) 192.168.0.105.4342 > 127.0.0.1.4342: LISP-Map-Notify, flags [I-xTR-ID-Present], 2 record(s), Authentication unknown-type, [authentication data length 35117 > 112] (invalid) diff --git a/tests/lisp_invalid.out b/tests/lisp_invalid.out index 8576e18a..cfb20d3f 100644 --- a/tests/lisp_invalid.out +++ b/tests/lisp_invalid.out @@ -1,3 +1,3 @@ 1 2015-08-22 11:09:05.156268 IP 192.168.0.105.4342 > 127.0.0.1.4342: LISP-Map-Notify, 3 record(s), - [unsuported address family identifier 7680] + [unsupported address family identifier 7680] 2 2015-08-22 11:09:05.615558 IP 192.168.0.105.4342 > 127.0.0.1.4342: LISP-Map-Notify, 2 record(s), [authentication data length 35117 > 112] (invalid)