From 6eac7d68178e5d0800d3ac00c63b50e1ef0378dc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joakim=20Fallsj=C3=B6?= Date: Mon, 14 Apr 2003 16:45:54 +0000 Subject: [PATCH] solaris-x86-port-already-htons-20030414 rx_port is already htons() and htons is a NULL-op on sparc but not on x86... make shutdown actually work on x86 solaris --- src/rx/SOLARIS/rx_knet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rx/SOLARIS/rx_knet.c b/src/rx/SOLARIS/rx_knet.c index 9db15d920..a553d55de 100644 --- a/src/rx/SOLARIS/rx_knet.c +++ b/src/rx/SOLARIS/rx_knet.c @@ -296,7 +296,7 @@ int osi_FreeSocket(register struct osi_socket *asocket) AFS_STATCNT(osi_FreeSocket); taddr.sin_family = AF_INET; - taddr.sin_port = htons(rx_port); + taddr.sin_port = rx_port; taddr.sin_addr.s_addr = htonl(0x7f000001); dvec.iov_base = &c; -- 2.39.5