[IPV4]: fib_hn ->nh_gw is net-endian
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 27 Sep 2006 05:13:54 +0000 (22:13 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 29 Sep 2006 00:54:12 +0000 (17:54 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip_fib.h

index c4eca2575b84a4b7094bc9d4ce48cbae86378292..9f84e9fc1b1f56f29b04a983e58d07f418adb034 100644 (file)
@@ -63,7 +63,7 @@ struct fib_nh {
        __u32                   nh_tclassid;
 #endif
        int                     nh_oif;
-       u32                     nh_gw;
+       __be32                  nh_gw;
 };
 
 /*