Fix problem where we failed to broadcast all requested service types
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12002 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
452134db27
commit
a2f1109df8
@ -276,7 +276,8 @@ sub send_service_request_single {
|
||||
setsockopt($socket,Socket6::IPPROTO_IPV6(),IPV6_MULTICAST_IF,pack("I",$interfaces->{$iface}->{scopeidx}));
|
||||
$socket->send($packet,0,$v6addr);
|
||||
}
|
||||
foreach my $ip (@{$interfaces->{$iface}->{ipv4addrs}}) {
|
||||
foreach my $sip (@{$interfaces->{$iface}->{ipv4addrs}}) {
|
||||
my $ip = $sip;
|
||||
$ip =~ s/\/(.*)//;
|
||||
my $maskbits = $1;
|
||||
my $ipn = inet_aton($ip); #we are ipv4 only, this is ok
|
||||
|
Loading…
Reference in New Issue
Block a user