]> git.ipfire.org Git - thirdparty/openvpn.git/commit
pool: restyle ipv4/ipv6 members to improve readability
authorAntonio Quartulli <antonio@openvpn.net>
Tue, 5 Jun 2018 09:04:18 +0000 (17:04 +0800)
committerGert Doering <gert@greenie.muc.de>
Tue, 5 Jun 2018 19:05:30 +0000 (21:05 +0200)
commit5d2cd1222e06291021cf5e793f585d5f1485ae9b
tree4434e42c0e13c665f28648159b7ea8a08d3bad57
parenta59fd1475089eda4c89942d345070bb942180223
pool: restyle ipv4/ipv6 members to improve readability

(This is only code refactoring)

IPv4 and IPv6 members are all part of the same flat hierarchy
in the pool data structure, without a proper name convention.

Create 2 sub-structures to properly separate IPv4 from IPv6
related members. This should make the structure more organized
and also slightly improve code readability.

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