prefork: Fix startup when no interface addresses are specified

Signed-off-by: Ask Bjørn Hansen <ask@develooper.com>
This commit is contained in:
Devin Carraway 2009-05-21 13:54:27 -07:00 committed by Ask Bjørn Hansen
parent b8958d333b
commit 8527f784c0
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
X.YY - Date
prefork: Fix startup when no interface addresses are specified (Devin Carraway)
prefork: add multi-address support
The clamdscan virus-scanning plugin now requires the ClamAV::Client

View File

@ -139,7 +139,7 @@ if (@d_addr) {
}
}
} else {
@d_addr = ( 'addr' => $has_ipv6 ? "[::]" : "0.0.0.0" );
@d_addr = ( { addr => $has_ipv6 ? "[::]" : "0.0.0.0", port => $d_port } );
}
# set max from ip to max number of children if option is set to disabled