Skip to content

Commit

Permalink
[NET]: ip ports in struct flowi are net-endian
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Al Viro authored and David S. Miller committed Sep 29, 2006
1 parent 2816e12 commit cc939d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/net/flow.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ struct flowi {
#define FLOWI_FLAG_MULTIPATHOLDROUTE 0x01
union {
struct {
__u16 sport;
__u16 dport;
__be16 sport;
__be16 dport;
} ports;

struct {
Expand Down

0 comments on commit cc939d3

Please sign in to comment.