summaryrefslogtreecommitdiff
path: root/Ivy.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Ivy.pm')
-rw-r--r--Ivy.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ivy.pm b/Ivy.pm
index b43c713..e128c3a 100644
--- a/Ivy.pm
+++ b/Ivy.pm
@@ -766,7 +766,7 @@ sub start
(LocalPort => $self->[broadcastPort],
Proto => 'udp',
Type => SOCK_DGRAM,
- Reuse => 1);
+ ReusePort => 1);
$self->[supSock]->sockopt (SO_BROADCAST, 1);
foreach my $netBroadcastAddr (@{$self->[broadcastBuses]}) {
# print "BroadcastBus: --", $netBroadcastAddr, "--\n";
@@ -778,7 +778,7 @@ sub start
# creating the multicast socket
$self->[supSock] = IO::Socket::Multicast->new
(LocalPort => $self->[broadcastPort],
- ReuseAddr => 1);
+ ReusePort => 1);
# Multicast datagrams with initial TTL 0 are restricted to the same host.
# Multicast datagrams with initial TTL 1 are restricted to the same subnet.