PUD: nwif: remove unused setting of address variable for IPv6 case
authorFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 6 Jun 2012 17:16:09 +0000 (19:16 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 7 Jun 2012 22:30:05 +0000 (00:30 +0200)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/pud/src/networkInterfaces.c

index 55a85b7..a5e1a07 100644 (file)
@@ -352,9 +352,6 @@ static int createTxSocket(TRxTxNetworkInterface * networkInterface) {
                ipTtlSetting = IPV6_MULTICAST_HOPS;
                index = if_nametoindex((char *)networkInterface->name);
 
-               address.in6.sin6_family = ipFamilySetting;
-               address.in6.sin6_addr = networkInterface->ipAddress.in6.sin6_addr;
-               address.in6.sin6_port = getTxMcPort();
                addr = &index;
                addrSize = sizeof(index);
        }