summary refs log tree commit diff stats
path: root/src/common/network.h
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2014-12-28 13:38:47 -0500
committerTingPing <tingping@tingping.se>2014-12-28 22:29:06 -0500
commit1b2bee37e43baca9b0ec58061561fdb60c31cef8 (patch)
tree7caf7da8be07701c2c1147c14a75149e5bb48575 /src/common/network.h
parent9cb73f839ffddb1479f0ee1c8a89acebafd31045 (diff)
Remove option to disable ipv6
It has been default for a while, is the only tested option,
and will only get more common.
Diffstat (limited to 'src/common/network.h')
-rw-r--r--src/common/network.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/common/network.h b/src/common/network.h
index c043702e..8c1c0c79 100644
--- a/src/common/network.h
+++ b/src/common/network.h
@@ -23,13 +23,8 @@
 typedef struct netstore_
 {
 #ifdef NETWORK_PRIVATE
-#ifdef USE_IPV6
 	struct addrinfo *ip6_hostent;
 #else
-	struct hostent *ip4_hostent;
-	struct sockaddr_in addr;
-#endif
-#else
 	int _dummy;	/* some compilers don't like empty structs */
 #endif
 } netstore;