]> git.ipfire.org Git - thirdparty/openvpn.git/commit
socks: Replace magic "10" for socks header with macro
authorFrank Lichtenheld <frank@lichtenheld.com>
Mon, 12 Jan 2026 17:11:12 +0000 (18:11 +0100)
committerGert Doering <gert@greenie.muc.de>
Mon, 12 Jan 2026 17:59:45 +0000 (18:59 +0100)
commite2d0e856061d43eabd8010070b456a10052b4e2b
tree701cdaeef2dddb7e83224b3b87d80be077d10e49
parent50a6b663e49410456ef6497346dc4ec149d50b0b
socks: Replace magic "10" for socks header with macro

So that it is easier to check that we indeed
have reserved this prior to assuming we have.

Github: openvpn-private-issues#4
Change-Id: I0aca7e7d9aa190541f11745cf72193cb6b39540a
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Arne Schwabe <arne-openvpn@rfc2549.org>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1467
Message-Id: <20260112171122.3994-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg35214.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/init.c
src/openvpn/mtu.c
src/openvpn/mtu.h
src/openvpn/socks.c