diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-03-18 06:44:53 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-18 06:44:53 +0100 |
commit | e6f1cebf71c4e7aae7dfa43414ce2631291def9f (patch) | |
tree | a3abf6bb3e63f2ecea1a4e05bf8d288d920acb17 /arch/sparc | |
parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linvil... (diff) | |
download | linux-e6f1cebf71c4e7aae7dfa43414ce2631291def9f.tar.xz linux-e6f1cebf71c4e7aae7dfa43414ce2631291def9f.zip |
[NET] endianness noise: INADDR_ANY
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/kernel/sys_sunos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/sys_sunos.c b/arch/sparc/kernel/sys_sunos.c index 28c187c5d9fd..f5b608bbe8af 100644 --- a/arch/sparc/kernel/sys_sunos.c +++ b/arch/sparc/kernel/sys_sunos.c @@ -659,7 +659,7 @@ sunos_nfs_get_server_fd (int fd, struct sockaddr_in *addr) socket = SOCKET_I(inode); local.sin_family = AF_INET; - local.sin_addr.s_addr = INADDR_ANY; + local.sin_addr.s_addr = htonl(INADDR_ANY); /* IPPORT_RESERVED = 1024, can't find the definition in the kernel */ try_port = 1024; |