[OpenAFS-devel] rx_user.c
Pavel Semerad
semerad@ss1000.ms.mff.cuni.cz
Mon, 8 Mar 2004 09:44:17 +0100
> I had to change the following because there is no ADDR_ANY on bsd. Is this
I have no ADDR_ANY on linux also.
Pavel Semerad
> 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
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel