diff options
author | Diadlo <polsha3@gmail.com> | 2017-11-14 20:14:06 +0300 |
---|---|---|
committer | Diadlo <polsha3@gmail.com> | 2017-11-15 15:21:39 +0300 |
commit | d037f938111c148c6956b58ebfba717e7c7cfb00 (patch) | |
tree | a5fce4555ee485686c1c74333139659d066eda67 /toxcore/network.h | |
parent | bb5f8a17103537caa09bcf14130debe3210fb61f (diff) |
Fix IPv4 and IPv6 loopbacks
Diffstat (limited to 'toxcore/network.h')
-rw-r--r-- | toxcore/network.h | 4 |
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 | } |
133 | IP4; | 133 | IP4; |
134 | 134 | ||
135 | extern const IP4 IP4_LOOPBACK; | 135 | IP4 get_ip4_loopback(void); |
136 | extern const IP4 IP4_BROADCAST; | 136 | extern const IP4 IP4_BROADCAST; |
137 | 137 | ||
138 | typedef union { | 138 | typedef union { |
@@ -143,7 +143,7 @@ typedef union { | |||
143 | } | 143 | } |
144 | IP6; | 144 | IP6; |
145 | 145 | ||
146 | extern const IP6 IP6_LOOPBACK; | 146 | IP6 get_ip6_loopback(void); |
147 | extern const IP6 IP6_BROADCAST; | 147 | extern const IP6 IP6_BROADCAST; |
148 | 148 | ||
149 | typedef struct { | 149 | typedef struct { |