projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
its: Engels voor "van het" - 3e persoon enkelvoud, genitief, onzijdig
[tinc]
/
src
/
net.c
diff --git
a/src/net.c
b/src/net.c
index
5cd3fa5
..
f81c4ba
100644
(file)
--- a/
src/net.c
+++ b/
src/net.c
@@
-17,7
+17,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: net.c,v 1.35.4.18
0 2002/09/09 21:24:34
guus Exp $
+ $Id: net.c,v 1.35.4.18
2 2002/09/15 14:55:53
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-25,16
+25,6
@@
#include <errno.h>
#include <fcntl.h>
#include <netdb.h>
#include <errno.h>
#include <fcntl.h>
#include <netdb.h>
-#include <netinet/in.h>
-#ifdef HAVE_NETINET_IN_SYSTM_H
-#include <netinet/in_systm.h>
-#endif
-#ifdef HAVE_NETINET_IP_H
-#include <netinet/ip.h>
-#endif
-#ifdef HAVE_NETINET_TCP_H
-#include <netinet/tcp.h>
-#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@
-49,6
+39,16
@@
#include <arpa/inet.h>
#include <sys/socket.h>
#include <net/if.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <net/if.h>
+#ifdef HAVE_NETINET_IN_SYSTM_H
+#include <netinet/in_systm.h>
+#endif
+#include <netinet/in.h>
+#ifdef HAVE_NETINET_IP_H
+#include <netinet/ip.h>
+#endif
+#ifdef HAVE_NETINET_TCP_H
+#include <netinet/tcp.h>
+#endif
#include <openssl/rand.h>
#include <openssl/rand.h>
@@
-166,7
+166,7
@@
void build_fdset(fd_set * fs)
- Check if we need to retry making an outgoing connection
- Deactivate the host
*/
- Check if we need to retry making an outgoing connection
- Deactivate the host
*/
-void terminate_connection(connection_t *
c, int report)
+void terminate_connection(connection_t *c, int report)
{
cp();
{
cp();