Changeset 3800

Show
Ignore:
Timestamp:
08/23/06 16:45:11 (8 years ago)
Author:
piers
Message:

Final tweaks for SSM support - though IPv6 SSM/MLD hasn't been tested in operation

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vic/trunk/net/net-ipv6.cpp

    r3799 r3800  
    316316  memset((char *)p, 0, sizeof(*p)); 
    317317  p->sin6_family = AF_INET6; 
    318   socklen_t len = sizeof(*p), result = 0; 
     318  socklen_t len = sizeof(*p);  
     319  int result = 0; 
    319320 
    320321  if ((result = getsockname(ssock_, (struct sockaddr *)p, &len)) < 0) { 
     
    483484                sin.sin6_port = 0; 
    484485/* __IPV6 memcopy address */ 
    485                 sin.sin6_addr = (IP6Address&)addr; 
     486                sin.sin6_addr = (IP6Address&)g_addr; 
    486487                connect(fd, (struct sockaddr *)&sin, sizeof(sin)); 
    487488#endif