]> git.ipfire.org Git - thirdparty/openvpn.git/commit
dhcp: Clean up type handling of write_dhcp_*
authorFrank Lichtenheld <frank@lichtenheld.com>
Mon, 13 Oct 2025 16:17:53 +0000 (18:17 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 13 Oct 2025 16:37:00 +0000 (18:37 +0200)
commitb298a7418e3776972159d84c4636c829ec6f6946
tree1157fc9ae92e4789265367ef2e846ccf822eb4e7
parentc4f7b418c223ba1bd4614b3fa5ec243b385c8dc5
dhcp: Clean up type handling of write_dhcp_*

Use more appropriate types. Add casts where
necessary but ensure that they are safe.

Change-Id: I30a50826350ac3176443cf3bf16d3972609723a2
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1268
Message-Id: <20251013161759.1656-1-gert@greenie.muc.de>
URL: https://sourceforge.net/p/openvpn/mailman/message/59246219/
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/dhcp.c
src/openvpn/options.c
src/openvpn/tun.h