From d9b8acda2a71083d86424b58b1315e63ae472549 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Thu, 8 Feb 2024 11:33:59 +0900 Subject: [PATCH] test: fix typo Follow-up for 38a80ba1089fcad427f4376e28f74f9eb630fb91 and a39d8396a986cb6291486b1d8451de8b0fd2b6cc. --- src/libsystemd-network/test-ndisc-rs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libsystemd-network/test-ndisc-rs.c b/src/libsystemd-network/test-ndisc-rs.c index cc00461839..9c755ecbc6 100644 --- a/src/libsystemd-network/test-ndisc-rs.c +++ b/src/libsystemd-network/test-ndisc-rs.c @@ -183,11 +183,11 @@ static int send_ra(uint8_t flags) { 0x19, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3c, 0x20, 0x01, 0x0d, 0xb8, 0xde, 0xad, 0xbe, 0xef, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, - /* type = 0x1f (SD_NDISC_OPTION_DNSSL), legnth = 24 */ + /* type = 0x1f (SD_NDISC_OPTION_DNSSL), length = 24 */ 0x1f, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3c, 0x03, 0x6c, 0x61, 0x62, 0x05, 0x69, 0x6e, 0x74, 0x72, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - /* type = 0x01 (SD_NDISC_OPTION_SOURCE_LL_ADDRESS), legth = 8 */ + /* type = 0x01 (SD_NDISC_OPTION_SOURCE_LL_ADDRESS), length = 8 */ 0x01, 0x01, 0x78, 0x2b, 0xcb, 0xb3, 0x6d, 0x53, }; @@ -285,7 +285,7 @@ static int send_ra_invalid_domain(uint8_t flags) { 0x19, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3c, 0x20, 0x01, 0x0d, 0xb8, 0xde, 0xad, 0xbe, 0xef, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, - /* type = 0x1f (SD_NDISC_OPTION_DNSSL), legnth = 112 */ + /* type = 0x1f (SD_NDISC_OPTION_DNSSL), length = 112 */ 0x1f, 0x0e, 0xee, 0x68, 0xb0, 0xf4, 0x36, 0x39, 0x2c, 0xbc, 0x0b, 0xbc, 0xa9, 0x97, 0x71, 0x37, 0xad, 0x86, 0x80, 0x14, 0x2e, 0x58, 0xaa, 0x8a, @@ -300,7 +300,7 @@ static int send_ra_invalid_domain(uint8_t flags) { 0x6c, 0x7c, 0xec, 0x1b, 0xcf, 0x71, 0xeb, 0xba, 0x68, 0x1b, 0x8e, 0x7d, 0x93, 0x7e, 0x0b, 0x9f, 0xdb, 0x12, 0x9c, 0x75, 0x22, 0x5f, 0x12, 0x00, - /* type = 0x01 (SD_NDISC_OPTION_SOURCE_LL_ADDRESS), legth = 8 */ + /* type = 0x01 (SD_NDISC_OPTION_SOURCE_LL_ADDRESS), length = 8 */ 0x01, 0x01, 0x78, 0x2b, 0xcb, 0xb3, 0x6d, 0x53, };