]> git.ipfire.org Git - thirdparty/openvpn.git/commit
options: enable IPv4 redirection logic only if really required
authorAntonio Quartulli <antonio@openvpn.net>
Mon, 8 Jun 2020 15:32:39 +0000 (17:32 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 8 Jun 2020 18:05:40 +0000 (20:05 +0200)
commit070319c13524125d8325a0df15fe795cc2a4bcf2
tree11c1829f37232d6dd3e0bd8b14a5eb6f2cb44f42
parent25266ebba97d7f4169f902b8b0d3c38eaa4c43a4
options: enable IPv4 redirection logic only if really required

If no IPv4 redirection flag is set, do not enable the IPv4
redirection logic at all so that it won't bother adding any
useless IPv4 route.

Trac: #208
Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20200608153239.2260-1-a@unstable.cc>
URL: https://www.mail-archive.com/search?l=mid&q=20200608153239.2260-1-a@unstable.cc
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/options.c