diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-11-10 12:04:04 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-11-10 12:04:04 +0000 |
commit | b613c96d94bcdcda7abb3be68ea1c281ce5fbb47 (patch) | |
tree | 5152df2cc0c141100a8384d75e2d1165383e253c /package/network/services | |
parent | 8b5d644bb36846660e1fa20d38361fec12a14b28 (diff) | |
download | mtk-20170518-b613c96d94bcdcda7abb3be68ea1c281ce5fbb47.zip mtk-20170518-b613c96d94bcdcda7abb3be68ea1c281ce5fbb47.tar.gz mtk-20170518-b613c96d94bcdcda7abb3be68ea1c281ce5fbb47.tar.bz2 |
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
Diffstat (limited to 'package/network/services')
-rw-r--r-- | package/network/services/openvpn/patches/200-small_build_enable_occ.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/network/services/openvpn/patches/200-small_build_enable_occ.patch b/package/network/services/openvpn/patches/200-small_build_enable_occ.patch new file mode 100644 index 0000000..929d881 --- /dev/null +++ b/package/network/services/openvpn/patches/200-small_build_enable_occ.patch @@ -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 |