[OpenAFS-devel] rx_user.c
Jim Rees
rees@umich.edu
Fri, 05 Mar 2004 15:44:44 -0500
I had to change the following because there is no ADDR_ANY on bsd. Is this
safe for other platforms?
Index: src/rx/rx_user.c
===================================================================
RCS file: /cvs/openafs/src/rx/rx_user.c,v
retrieving revision 1.15
diff -u -r1.15 rx_user.c
--- src/rx/rx_user.c 26 Feb 2004 19:23:02 -0000 1.15
+++ src/rx/rx_user.c 5 Mar 2004 20:38:06 -0000
@@ -121,7 +121,7 @@
goto error;
}
- taddr.sin_addr.s_addr = ADDR_ANY;
+ taddr.sin_addr.s_addr = INADDR_ANY;
taddr.sin_family = AF_INET;
taddr.sin_port = (u_short) port;
#ifdef STRUCT_SOCKADDR_HAS_SA_LEN