Artem Glazychev 768c8d4ece dhcp: fix buffer length after adding new option
The size of dhcp option should be o.length + 2 additional bytes of the header.
Incorrect offset results in an extra byte at the end of the packet:
...
0120  04 00 00 00 04 05 04 AC 10 04 01 FF 00
...
RFC2131 says the last should be the 'end' option (ff)

Type: fix

Change-Id: I056d755d29465aab8c1c55a0b930f65ece6fafce
Signed-off-by: Artem Glazychev <glazychev@mts.ru>
2024-10-23 13:44:09 +00:00
..
2024-10-15 15:46:01 -04:00
2022-05-10 18:52:08 +00:00
2023-11-03 05:06:43 +00:00
2022-05-10 18:52:08 +00:00
2023-11-03 05:06:43 +00:00
2022-05-10 18:52:08 +00:00
2024-04-03 14:10:47 -04:00
2024-04-03 14:10:47 -04:00
2024-10-15 15:46:01 -04:00
2023-11-03 05:06:43 +00:00
2023-11-28 20:39:37 +00:00
2023-11-03 05:06:43 +00:00
2024-09-27 12:30:16 +00:00
2023-11-03 05:06:43 +00:00
2023-11-03 05:06:43 +00:00
2024-07-12 03:09:22 +00:00
2023-11-03 05:06:43 +00:00
2024-07-12 03:09:22 +00:00
2024-04-03 14:10:47 -04:00
2022-05-10 18:52:08 +00:00