]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix option inconsistency warnings about "proto" and "tun-ipv6"
authorGert Doering <gert@greenie.muc.de>
Sun, 16 Dec 2012 21:15:20 +0000 (22:15 +0100)
committerDavid Sommerseth <davids@redhat.com>
Mon, 17 Dec 2012 09:36:07 +0000 (10:36 +0100)
commitf21410729e68b553f391dc036c0372fd3690714e
tree4d41b1ab9560e943bef93c7072a67ea2e30822ca
parent729c8464021ff7c41a7fbb03501465eca55909a3
Fix option inconsistency warnings about "proto" and "tun-ipv6"

"tun-ipv6" is only sent in option string if running in point-to-point
mode (= not --server and not --client or --pull), because in those
scenarios it's usually pushed by the server, and the client does not
yet have it when comparing options -> needless warning.

Completely ignore "proto" values when comparing option strings - this
is in preparation for removing proto from the option string in a future
release, and to avoid warnings when 2.3 talks to this future release.

Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: David Sommerseth <davids@redhat.com>
Message-Id: 1355692520-24362-1-git-send-email-gert@greenie.muc.de
URL: http://article.gmane.org/gmane.network.openvpn.devel/7194
Signed-off-by: David Sommerseth <davids@redhat.com>
(cherry picked from commit 3b860cf27b9374f6ebe67ff21011661f8ec391c6)
src/openvpn/options.c