[Spread-cvs] cvs commit: spread/daemon Readme.txt data_link.c

jonathan at spread.org jonathan at spread.org
Tue Sep 17 14:06:53 EDT 2002


jonathan    02/09/17 18:06:53

  Modified:    daemon   Readme.txt data_link.c
  Log:
  Fix typo in data_link that causes multicast to fail. Add readme note about
  runtime directory and uid patch.
  
  Revision  Changes    Path
  1.23      +2 -0      spread/daemon/Readme.txt
  
  Index: Readme.txt
  ===================================================================
  RCS file: /storage/cvsroot/spread/daemon/Readme.txt,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- Readme.txt	17 Sep 2002 04:25:24 -0000	1.22
  +++ Readme.txt	17 Sep 2002 18:06:52 -0000	1.23
  @@ -69,6 +69,8 @@
      were made to Theo's 3.16.2 patch when I applied it.
   *) Change library name from libsp to libspread. This is both more descriptive
      and should fix the problem with library clashes with other libsp's.
  +*) Apply Daniel Rall's patch to make the spread execution directory and
  +   the user and group it runs as configurable at runtime.
   
   Bugfixes: 
   *) Make sure service_type is set to 0 before using it in SP_receive calls 
  
  
  
  1.8       +3 -3      spread/daemon/data_link.c
  
  Index: data_link.c
  ===================================================================
  RCS file: /storage/cvsroot/spread/daemon/data_link.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- data_link.c	16 Sep 2002 16:59:06 -0000	1.7
  +++ data_link.c	17 Sep 2002 18:06:52 -0000	1.8
  @@ -65,7 +65,7 @@
   	struct  sockaddr_in	soc_addr;
   	int			on=1;
           int			i1,i2,i3,i4;
  -#ifdef	IP_MUTLICAST_TTL
  +#ifdef	IP_MULTICAST_TTL
   	unsigned char		ttl_val;
   #endif
   
  @@ -79,7 +79,7 @@
               		Alarm( EXIT, "DL_init_channel: setsockopt error for port %d\n",port);
   		Alarm( DATA_LINK, "DL_init_channel: setsockopt for send and broadcast went ok\n");
   
  -#ifdef	IP_MUTLICAST_TTL
  +#ifdef	IP_MULTICAST_TTL
   		/* ### Isn't this for sending??? */
   		ttl_val = 1;
           	if (setsockopt(chan, IPPROTO_IP, IP_MULTICAST_TTL, (void *)&ttl_val, 
  @@ -114,7 +114,7 @@
   		i4 =  mcast_address & 0x000000ff;
   		if( i1 >=224 && i1 < 240 )
   		{
  -#ifdef IP_MUTLICAST_TTL
  +#ifdef IP_MULTICAST_TTL
   			struct ip_mreq	mreq;
   
   			mreq.imr_multiaddr.s_addr = htonl( mcast_address );
  
  
  




More information about the Spread-cvs mailing list