From: Dirk Koopman Date: Sun, 21 Jul 2013 21:46:18 +0000 (+0100) Subject: fix ipv6 crash in Msg.pm X-Git-Tag: 1.57~20 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=385440511e0614d71c6234f7b45954ac113a3f04;p=spider.git fix ipv6 crash in Msg.pm --- diff --git a/perl/Msg.pm b/perl/Msg.pm index d3817bed..6cad5010 100644 --- a/perl/Msg.pm +++ b/perl/Msg.pm @@ -460,8 +460,8 @@ sub new_server { my $self = $pkg->new($login_proc); $self->{sock} = $io_socket->new ( - LocalAddr => "$my_host:$my_port", -# LocalPort => $my_port, + LocalAddr => $my_host, + LocalPort => $my_port, Listen => SOMAXCONN, Proto => 'tcp', Reuse => 1);