test-dhcp-client: fix packet length and checksum in IP header
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user