oscserv error: "could not determine the owner of received UDP packet"

David Woodhouse dwmw2 at infradead.org
Mon Nov 17 10:39:56 PST 2014


On Sat, 2014-11-15 at 16:03 +0100, Nikos Mavrogiannopoulos wrote:
> +				if (vpninfo->dtls_session_id_set) {
> +					if (memcmp(vpninfo->dtls_session_id, dtls_session_id, 32) != 0) {
> +						if (vpninfo->dtls_state != DTLS_DISABLED) {
> +							dtls_close(vpninfo);
> +							vpninfo->dtls_state = DTLS_SLEEPING;
> +							vpninfo->new_dtls_started = 0;
> +						}
> +					}

Couldn't we just call dtls_reconnect() here?

-- 
dwmw2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5745 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20141117/86290cf5/attachment.bin>


More information about the openconnect-devel mailing list