diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2014-08-25 17:55:28 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2014-08-25 17:55:28 +0000 |
commit | 9d94cb5ca414325af784c1326cae87b56b737275 (patch) | |
tree | 63caffd5307632f3f59b847ac45b6c21834dab32 /regress/usr.sbin/syslogd/Client.pm | |
parent | 3d43008fc1af31f5d3343eb8c58818bfeef0ed5f (diff) |
Add tests for syslogd sending and receiving over IPv6 sockets.
Diffstat (limited to 'regress/usr.sbin/syslogd/Client.pm')
-rw-r--r-- | regress/usr.sbin/syslogd/Client.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.sbin/syslogd/Client.pm b/regress/usr.sbin/syslogd/Client.pm index 202540d18d0..7605360c963 100644 --- a/regress/usr.sbin/syslogd/Client.pm +++ b/regress/usr.sbin/syslogd/Client.pm @@ -1,4 +1,4 @@ -# $OpenBSD: Client.pm,v 1.1 2014/08/20 20:52:14 bluhm Exp $ +# $OpenBSD: Client.pm,v 1.2 2014/08/25 17:55:27 bluhm Exp $ # Copyright (c) 2010-2014 Alexander Bluhm <bluhm@openbsd.org> # @@ -36,7 +36,7 @@ sub new { sub child { my $self = shift; - if ($self->{connectdomain}) { + if (defined($self->{connectdomain})) { my $cs = IO::Socket::INET6->new( Proto => "udp", Domain => $self->{connectdomain}, |