]> dxcluster.org Git - spider.git/commitdiff
fix ipv6 crash in Msg.pm
authorDirk Koopman <djk@tobit.co.uk>
Sun, 21 Jul 2013 21:46:18 +0000 (22:46 +0100)
committerDirk Koopman <djk@tobit.co.uk>
Sun, 21 Jul 2013 21:46:18 +0000 (22:46 +0100)
perl/Msg.pm

index d3817bedbd5fa8704aa9ce7bc062f22f62fd6f45..6cad5010c1e4be38e24fbfaec052292041ab8fda 100644 (file)
@@ -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);