]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Conditionalize calls to print_default_gateway on !ENABLE_SMALL
authorGert Doering <gert@greenie.muc.de>
Tue, 29 Apr 2014 21:09:39 +0000 (23:09 +0200)
committerGert Doering <gert@greenie.muc.de>
Wed, 30 Apr 2014 06:57:07 +0000 (08:57 +0200)
commitd08a6a94e14a73b62603500b9a1a89cb9ec5cb2f
tree77efe5359cbe7829d739feb769831a1bf4cdc9c2
parent7227af1131a5d7ae2ea4d8d1cd3cba3001440326
Conditionalize calls to print_default_gateway on !ENABLE_SMALL

Calls to print_default_gateway() depended on #ifdef ENABLE_DEBUG, but
the actual function wasn't compiled in #ifdef ENABLE_SMALL, so the
combination "configure --enable-small --enable-debug" didn't work. Fix.

Fix trac #397

Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Steffan Karger <steffan.karger@fox-it.com>
Message-Id: <1398805779-29376-1-git-send-email-gert@greenie.muc.de>
URL: http://article.gmane.org/gmane.network.openvpn.devel/8670
(cherry picked from commit c29e08a2f33234fb705a8323c0d9e1e07b0773fd)
src/openvpn/options.c
src/openvpn/route.c