diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-09-27 01:30:23 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-28 21:01:22 -0400 |
commit | 753ed90d92009260616f6402aafa7ee47e03b162 (patch) | |
tree | 18db9f72bb5ff58961a14c37b1c263301cb120d8 /net/sunrpc/svcauth_unix.c | |
parent | d8ed029d6000ba2e2908d9286409e4833c091b4c (diff) |
[SUNRPC]: more sunrpc endianness annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sunrpc/svcauth_unix.c')
-rw-r--r-- | net/sunrpc/svcauth_unix.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/sunrpc/svcauth_unix.c b/net/sunrpc/svcauth_unix.c index f98229fb5e10..1020d54b01d0 100644 --- a/net/sunrpc/svcauth_unix.c +++ b/net/sunrpc/svcauth_unix.c | |||
@@ -249,10 +249,10 @@ static int ip_map_show(struct seq_file *m, | |||
249 | 249 | ||
250 | seq_printf(m, "%s %d.%d.%d.%d %s\n", | 250 | seq_printf(m, "%s %d.%d.%d.%d %s\n", |
251 | im->m_class, | 251 | im->m_class, |
252 | htonl(addr.s_addr) >> 24 & 0xff, | 252 | ntohl(addr.s_addr) >> 24 & 0xff, |
253 | htonl(addr.s_addr) >> 16 & 0xff, | 253 | ntohl(addr.s_addr) >> 16 & 0xff, |
254 | htonl(addr.s_addr) >> 8 & 0xff, | 254 | ntohl(addr.s_addr) >> 8 & 0xff, |
255 | htonl(addr.s_addr) >> 0 & 0xff, | 255 | ntohl(addr.s_addr) >> 0 & 0xff, |
256 | dom | 256 | dom |
257 | ); | 257 | ); |
258 | return 0; | 258 | return 0; |