From: Martin Willi Date: Mon, 15 Apr 2013 14:54:27 +0000 (+0200) Subject: kernel-utun: succeed UDP decapsulation call, as add_sa() does this for us X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e34b5f533e8414e84ad728e6420710c453825df;p=thirdparty%2Fstrongswan.git kernel-utun: succeed UDP decapsulation call, as add_sa() does this for us --- diff --git a/src/libhydra/plugins/kernel_utun/kernel_utun_ipsec.c b/src/libhydra/plugins/kernel_utun/kernel_utun_ipsec.c index c82c3847b7..c2beaaab49 100644 --- a/src/libhydra/plugins/kernel_utun/kernel_utun_ipsec.c +++ b/src/libhydra/plugins/kernel_utun/kernel_utun_ipsec.c @@ -420,7 +420,7 @@ METHOD(kernel_ipsec_t, bypass_socket, bool, METHOD(kernel_ipsec_t, enable_udp_decap, bool, private_kernel_utun_ipsec_t *this, int fd, int family, u_int16_t port) { - return FALSE; + return TRUE; } METHOD(kernel_utun_ipsec_t, add_ip, status_t,