dhcpv4: store reqopts as uint8_t
authorDavid Härdeman <david@hardeman.nu>
Sun, 11 Feb 2024 12:09:53 +0000 (13:09 +0100)
committerdedeckeh <dedeckeh@gmail.com>
Sun, 29 Dec 2024 11:50:42 +0000 (12:50 +0100)
commit2859741d971efaed279585e9d7ad3aafa49d936a
treef90310eecdf6481961c2a59d04d94870467c0f4d
parenta29882318a4ccb3ae26f7cc0145e06ad4ead224b
dhcpv4: store reqopts as uint8_t

Storing request options as chars means that it's difficult to handle option
codes > 127 due to the signedness of char (and options aren't chars, they're
binary data).

Signed-off-by: David Härdeman <david@hardeman.nu>
src/dhcpv4.c
src/odhcpd.h
src/ubus.c