]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Add warning for using connection block variables after connection blocks
authorArne Schwabe <arne@rfc2549.org>
Tue, 17 Dec 2013 10:22:47 +0000 (11:22 +0100)
committerGert Doering <gert@greenie.muc.de>
Tue, 17 Dec 2013 12:43:30 +0000 (13:43 +0100)
commitcd6555e0159987ef264789f4976053ce2aa5fc20
treef280e2ecbd266bd5e364635856caf9180e0d9d97
parentb77bffe8186647c6fd1f2f76aac41fd45719edb8
Add warning for using connection block variables after connection blocks

In 2.3  some options that were allowed only in global config before have
been moved to connection blocks. This changes the behaviour if the
variables were defined after connection block. This patch adds a warning
to catch these mistakes.

Also let warnings errors show [CONNECTION-OPTIONS] instead of [CMD-LINE]
for connection blocks
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1387275767-10303-1-git-send-email-arne@rfc2549.org>
URL: http://article.gmane.org/gmane.network.openvpn.devel/8117

Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/options.c