projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SCTP]: Trivial sctp endianness annotations.
[deliverable/linux.git]
/
include
/
net
/
sctp
/
constants.h
diff --git
a/include/net/sctp/constants.h
b/include/net/sctp/constants.h
index 6c632e26f72dfb6e2fb7ebbc3c01ae767efdccd7..5ddb85599863ae79edae4e93f0b5e97b60db736b 100644
(file)
--- a/
include/net/sctp/constants.h
+++ b/
include/net/sctp/constants.h
@@
-356,7
+356,7
@@
typedef enum {
* addresses.
*/
#define IS_IPV4_UNUSABLE_ADDRESS(a) \
- ((
INADDR_BROADCAST
== *a) || \
+ ((
htonl(INADDR_BROADCAST)
== *a) || \
(MULTICAST(*a)) || \
(((unsigned char *)(a))[0] == 0) || \
((((unsigned char *)(a))[0] == 198) && \
This page took
0.024608 seconds
and
5
git commands to generate.