Fix startup of qpsmtpd-forkserver on hosts lacking Socket6 (it's not enough

to have 'use Socket6' in a conditional, it must be evalled also)


git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.3x@670 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
Devin Carraway 2006-11-05 09:47:18 +00:00
parent 0786b60699
commit 02bf7b80e5

View File

@ -20,7 +20,7 @@ $| = 1;
my $has_ipv6 = Qpsmtpd::Constants::has_ipv6; my $has_ipv6 = Qpsmtpd::Constants::has_ipv6;
if ($has_ipv6) { if ($has_ipv6) {
use Socket6; eval 'use Socket6';
} }
# Configuration # Configuration