1
0
mirror of https://github.com/moparisthebest/sslh synced 2024-11-13 12:45:05 -05:00

Do not require --listen when --inetd is specified

This commit is contained in:
Yves Rutschle 2014-01-06 22:21:44 +01:00
parent 45996cc1ee
commit 5998c9ec1a

View File

@ -450,7 +450,7 @@ next_arg:
set_protocol_list(prots);
if (!addr_listen) {
if (!addr_listen && !inetd) {
fprintf(stderr, "No listening address specified; use at least one -p option\n");
exit(1);
}