]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: fix typo
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 8 Feb 2024 02:33:59 +0000 (11:33 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 8 Feb 2024 02:34:36 +0000 (11:34 +0900)
Follow-up for 38a80ba1089fcad427f4376e28f74f9eb630fb91 and
a39d8396a986cb6291486b1d8451de8b0fd2b6cc.

src/libsystemd-network/test-ndisc-rs.c

index cc00461839fe38363a5ca77bee08b209ea9e9079..9c755ecbc64d9cb4fd6e94ff093e05e3d4c1767e 100644 (file)
@@ -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,
         };