whitelist: use a stream service to accept client connections
authorMartin Willi <martin@revosec.ch>
Mon, 1 Jul 2013 12:47:11 +0000 (14:47 +0200)
committerMartin Willi <martin@revosec.ch>
Thu, 18 Jul 2013 14:00:29 +0000 (16:00 +0200)
commite11c02c8f1591fef64200137c24598fba9d488a9
tree37888a2245fa4446222bf1862956dcbb2f72bab2
parent091d0afa2163a6aba79bf4802330f0099e857e38
whitelist: use a stream service to accept client connections

Use SOCK_STREAM, as we don't have SOCK_SEQPACKET on TCP. To have network
transparency, the message now uses network byte order.
src/libcharon/plugins/whitelist/whitelist.c
src/libcharon/plugins/whitelist/whitelist_control.c
src/libcharon/plugins/whitelist/whitelist_msg.h