test-dhcp-client: fix packet length and checksum in IP header

This commit is contained in:
Yu Watanabe
2026-03-21 05:21:28 +09:00
parent 7c1075fb8f
commit fce03832fa
+2 -2
View File
@@ -540,8 +540,8 @@ static void test_addr_acq(sd_event *e) {
}
static uint8_t test_addr_bootp_reply[] = {
0x45, 0x00, 0x01, 0x48, 0x00, 0x00, 0x40, 0x00,
0xff, 0x11, 0x70, 0xa3, 0x0a, 0x00, 0x00, 0x02,
0x45, 0x00, 0x01, 0x40, 0x00, 0x00, 0x40, 0x00,
0xff, 0x11, 0x70, 0xab, 0x0a, 0x00, 0x00, 0x02,
0xff, 0xff, 0xff, 0xff, 0x00, 0x43, 0x00, 0x44,
0x01, 0x2c, 0x2b, 0x91, 0x02, 0x01, 0x06, 0x00,
0x69, 0xd3, 0x79, 0x11, 0x17, 0x00, 0x80, 0x00,