]> git.ipfire.org Git - thirdparty/strongswan.git/commit
error-notify: use a stream service to accept client connections
authorMartin Willi <martin@revosec.ch>
Mon, 1 Jul 2013 09:42:18 +0000 (11:42 +0200)
committerMartin Willi <martin@revosec.ch>
Thu, 18 Jul 2013 14:00:29 +0000 (16:00 +0200)
commitc2a6fdf286dc96765670b7ef7b2f40cc91dfa53d
tree2306a5c02cf447a41c8efdca1b2f2d1d4531bdd7
parent83faec5abe30796c9226819fe47cbabf3b375235
error-notify: use a stream service to accept client connections

As TCP does not have SOCK_SEQPACKET, we now use SOCK_STREAM for the error-notify
socket. To have network transparency, the message now uses network byte order.
src/libcharon/plugins/error_notify/error_notify.c
src/libcharon/plugins/error_notify/error_notify_listener.c
src/libcharon/plugins/error_notify/error_notify_msg.h
src/libcharon/plugins/error_notify/error_notify_socket.c