normalise peerhost on outgoing connects
authorDirk Koopman <djk@tobit.co.uk>
Thu, 22 Dec 2011 23:51:10 +0000 (23:51 +0000)
committerDirk Koopman <djk@tobit.co.uk>
Thu, 22 Dec 2011 23:51:10 +0000 (23:51 +0000)
perl/Msg.pm
perl/Version.pm

index 52f0efd477aefbee6d622f0c708d92875b31eeca..352904102e32cf35d183ffcd1395e42f5c9c87a0 100644 (file)
@@ -141,7 +141,7 @@ sub connect {
 
                connect => [$to_host, $to_port],
 
-#              on_connect => sub {my $h = shift; $conn->{peerhost} = $h->handle->peername;},
+               on_connect => sub {my $h = shift; $conn->{peerhost} = shift;},
 
                on_eof => sub {$conn->disconnect},
 
index cfa5724af8ea1f88f127ca7ce2ea55589b1aabda..fea0581e2083cd1e9a25092e9fb56f72c0b6d6ad 100644 (file)
@@ -11,7 +11,7 @@ use vars qw($version $subversion $build $gitversion);
 
 $version = '1.56';
 $subversion = '0';
-$build = '6';
-$gitversion = '7f629e3';
+$build = '7';
+$gitversion = 'a60f14f';
 
 1;