aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-09-27 21:33:22 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-28 21:02:07 -0400
commitcc939d37349bf82891bd1f4558284d7fafe7acb2 (patch)
tree0abc4445a7cd2077c84dde0d9b28af3f99269cf7 /include/net
parent2816e1284a2db03ad5e205bab4eacbc5f7d4f991 (diff)
[NET]: ip ports in struct flowi are net-endian
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/flow.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/flow.h b/include/net/flow.h
index 97569af9bda7..5700b0ad63c0 100644
--- a/include/net/flow.h
+++ b/include/net/flow.h
@@ -56,8 +56,8 @@ struct flowi {
56#define FLOWI_FLAG_MULTIPATHOLDROUTE 0x01 56#define FLOWI_FLAG_MULTIPATHOLDROUTE 0x01
57 union { 57 union {
58 struct { 58 struct {
59 __u16 sport; 59 __be16 sport;
60 __u16 dport; 60 __be16 dport;
61 } ports; 61 } ports;
62 62
63 struct { 63 struct {