diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-09-27 18:33:22 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-28 18:02:07 -0700 |
commit | cc939d37349bf82891bd1f4558284d7fafe7acb2 (patch) | |
tree | 0abc4445a7cd2077c84dde0d9b28af3f99269cf7 /include/net | |
parent | 2816e1284a2db03ad5e205bab4eacbc5f7d4f991 (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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/flow.h b/include/net/flow.h index 97569af9bda..5700b0ad63c 100644 --- a/include/net/flow.h +++ b/include/net/flow.h @@ -56,8 +56,8 @@ struct flowi { #define FLOWI_FLAG_MULTIPATHOLDROUTE 0x01 union { struct { - __u16 sport; - __u16 dport; + __be16 sport; + __be16 dport; } ports; struct { |