From d50746febe89ed2f4e9f37eee4bc45b9a6fb8b5e Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Wed, 13 May 2009 15:57:31 +0200 Subject: [PATCH] identation cleanups --- src/charon/network/socket.c | 44 ++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/src/charon/network/socket.c b/src/charon/network/socket.c index ba3b37a73..34dc89c82 100644 --- a/src/charon/network/socket.c +++ b/src/charon/network/socket.c @@ -71,27 +71,27 @@ struct private_socket_t { /** * public functions */ - socket_t public; + socket_t public; + + /** + * IPv4 socket (500) + */ + int ipv4; - /** - * IPv4 socket (500) - */ - int ipv4; - - /** - * IPv4 socket for NATT (4500) - */ - int ipv4_natt; - - /** - * IPv6 socket (500) - */ - int ipv6; - - /** - * IPv6 socket for NATT (4500) - */ - int ipv6_natt; + /** + * IPv4 socket for NATT (4500) + */ + int ipv4_natt; + + /** + * IPv6 socket (500) + */ + int ipv6; + + /** + * IPv6 socket for NATT (4500) + */ + int ipv6_natt; }; /** @@ -108,7 +108,7 @@ static status_t receiver(private_socket_t *this, packet_t **packet) fd_set rfds; int max_fd = 0, selected = 0; u_int16_t port; - + FD_ZERO(&rfds); if (this->ipv4) @@ -618,7 +618,7 @@ socket_t *socket_create() DBG1(DBG_NET, "could not open IPv4 NAT-T socket"); } } - + this->ipv6 = open_socket(this, AF_INET6, IKEV2_UDP_PORT); if (this->ipv6 == 0) {