Author: nbd Date: 2015-11-10 13:04:04 +0100 (Tue, 10 Nov 2015) New Revision: 47439
Added: trunk/package/network/services/openvpn/patches/200-small_build_enable_occ.patch Log: 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 <[email protected]> Added: trunk/package/network/services/openvpn/patches/200-small_build_enable_occ.patch =================================================================== --- trunk/package/network/services/openvpn/patches/200-small_build_enable_occ.patch (rev 0) +++ trunk/package/network/services/openvpn/patches/200-small_build_enable_occ.patch 2015-11-10 12:04:04 UTC (rev 47439) @@ -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 _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
