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 | d0036c92b0f0ebd16a62ccb211c1ca40203a7df3 (patch) | |
tree | 4ef9b2d7521f78afd07e1db12bb601c1ef6a8ef4 | |
parent | 1c93a8353d0b641a6fa0077e81ecc8dd3efcae56 (diff) | |
download | master-187ad058-d0036c92b0f0ebd16a62ccb211c1ca40203a7df3.tar.gz master-187ad058-d0036c92b0f0ebd16a62ccb211c1ca40203a7df3.tar.bz2 master-187ad058-d0036c92b0f0ebd16a62ccb211c1ca40203a7df3.zip |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47439 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 0000000000..929d881038 --- /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 |