]> git.ipfire.org Git - thirdparty/openvpn.git/commit
route.c: simplify ifdef logic
authorAntonio Quartulli <a@unstable.cc>
Mon, 5 Aug 2019 09:25:29 +0000 (11:25 +0200)
committerGert Doering <gert@greenie.muc.de>
Sat, 17 Aug 2019 19:07:43 +0000 (21:07 +0200)
commitd42f070c507592a80425fa45801bc2d4cb573789
tree1edac2b1264cac067ca161685cde6f532fb800da
parent2c45d268ca65c522fbabb7c4dab5e721296b4623
route.c: simplify ifdef logic

With the introduction of the new networking API layer on linux, some
ifdefs can be pruned or simplified.

While at it move some variable to improve readability.

Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20190805092529.9467-7-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg18724.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/route.c