projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use inet_pton() to parse Subnets.
[tinc]
/
src
/
ipv4.h
diff --git
a/src/ipv4.h
b/src/ipv4.h
index
7f45ad7
..
7979f7d
100644
(file)
--- a/
src/ipv4.h
+++ b/
src/ipv4.h
@@
-63,7
+63,7
@@
#ifndef HAVE_STRUCT_IP
struct ip {
#ifndef HAVE_STRUCT_IP
struct ip {
-#if
BYTE_ORDER ==
LITTLE_ENDIAN
+#if
__BYTE_ORDER == __
LITTLE_ENDIAN
unsigned int ip_hl: 4;
unsigned int ip_v: 4;
#else
unsigned int ip_hl: 4;
unsigned int ip_v: 4;
#else