]> git.ipfire.org Git - thirdparty/openvpn.git/commit
sitnl: Clean up type handling
authorFrank Lichtenheld <frank@lichtenheld.com>
Tue, 7 Oct 2025 12:27:41 +0000 (14:27 +0200)
committerGert Doering <gert@greenie.muc.de>
Tue, 7 Oct 2025 12:48:16 +0000 (14:48 +0200)
commitd4993125b9e51940960834fbc33c3cf292b8e899
treed8e12a205e23e37edb9591b2180041a4b2051689
parentce2e5cbc14043de2af12484cd9f0dee8cb2967e6
sitnl: Clean up type handling

- Make some type casts explicit. Due to the types used
  in our networking API and the netlink APIs respectively
  this can't be avoided.
- In many cases just use correct types from the start, e.g.
  where we use constants anyway.

Change-Id: I20205ebd06bbf7cbee8c9be93f399961f5b74fcc
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Antonio Quartulli <antonio@mandelbit.com>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1251
Message-Id: <20251007122747.16064-1-gert@greenie.muc.de>
URL: https://sourceforge.net/p/openvpn/mailman/message/59243289/
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/networking_sitnl.c