summaryrefslogtreecommitdiff
path: root/toxcore/network.h
diff options
context:
space:
mode:
authorDiadlo <polsha3@gmail.com>2017-11-14 20:14:06 +0300
committerDiadlo <polsha3@gmail.com>2017-11-15 15:21:39 +0300
commitd037f938111c148c6956b58ebfba717e7c7cfb00 (patch)
treea5fce4555ee485686c1c74333139659d066eda67 /toxcore/network.h
parentbb5f8a17103537caa09bcf14130debe3210fb61f (diff)
Fix IPv4 and IPv6 loopbacks
Diffstat (limited to 'toxcore/network.h')
-rw-r--r--toxcore/network.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/network.h b/toxcore/network.h
index 3c98c168..0b9da5a4 100644
--- a/toxcore/network.h
+++ b/toxcore/network.h
@@ -132,7 +132,7 @@ typedef union {
132} 132}
133IP4; 133IP4;
134 134
135extern const IP4 IP4_LOOPBACK; 135IP4 get_ip4_loopback(void);
136extern const IP4 IP4_BROADCAST; 136extern const IP4 IP4_BROADCAST;
137 137
138typedef union { 138typedef union {
@@ -143,7 +143,7 @@ typedef union {
143} 143}
144IP6; 144IP6;
145 145
146extern const IP6 IP6_LOOPBACK; 146IP6 get_ip6_loopback(void);
147extern const IP6 IP6_BROADCAST; 147extern const IP6 IP6_BROADCAST;
148 148
149typedef struct { 149typedef struct {