Browse Source

[IPV4]: fib_hn ->nh_gw is net-endian

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Al Viro 18 years ago
parent
commit
ed49e3caaa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/net/ip_fib.h

+ 1 - 1
include/net/ip_fib.h

@@ -63,7 +63,7 @@ struct fib_nh {
 	__u32			nh_tclassid;
 #endif
 	int			nh_oif;
-	u32			nh_gw;
+	__be32			nh_gw;
 };
 
 /*