openvpn: enable options consistency check even in the small build

Only costs about 3k compressed, but significantly improves handling of
configuration mismatch

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47439
This commit is contained in:
Felix Fietkau 2015-11-10 12:04:04 +00:00
parent 8b5d644bb3
commit b613c96d94

View File

@ -0,0 +1,12 @@
--- a/src/openvpn/syshead.h
+++ b/src/openvpn/syshead.h
@@ -597,9 +597,7 @@ socket_defined (const socket_descriptor_
/*
* Should we include OCC (options consistency check) code?
*/
-#ifndef ENABLE_SMALL
#define ENABLE_OCC
-#endif
/*
* Should we include NTLM proxy functionality