From 171d4cc69ce70379cacc4de32a5a7c8ffaf19332 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joakim=20Fallsj=C3=B6?= Date: Mon, 14 Apr 2003 16:47:03 +0000 Subject: [PATCH] STABLE12-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 will issue this patch only as 1.2.9a or as "contributed"; something to avoid needing a fresh release. (cherry picked from commit 6eac7d68178e5d0800d3ac00c63b50e1ef0378dc) --- 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 bd2f1faf5..e0a28597b 100644 --- a/src/rx/SOLARIS/rx_knet.c +++ b/src/rx/SOLARIS/rx_knet.c @@ -299,7 +299,7 @@ int osi_FreeSocket(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