]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
kernel-utun: succeed UDP decapsulation call, as add_sa() does this for us
authorMartin Willi <martin@revosec.ch>
Mon, 15 Apr 2013 14:54:27 +0000 (16:54 +0200)
committerMartin Willi <martin@revosec.ch>
Thu, 18 Apr 2013 12:43:56 +0000 (14:43 +0200)
src/libhydra/plugins/kernel_utun/kernel_utun_ipsec.c

index c82c3847b7021b66e0c6a86774ef6ea67390ca58..c2beaaab49d7cb349ec7b765c5f846c18fe71111 100644 (file)
@@ -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,