mirror of
https://github.com/yrutschle/sslh.git
synced 2025-04-18 17:57:39 +03:00
Do not require --listen when --inetd is specified
This commit is contained in:
parent
45996cc1ee
commit
5998c9ec1a
@ -450,7 +450,7 @@ next_arg:
|
|||||||
|
|
||||||
set_protocol_list(prots);
|
set_protocol_list(prots);
|
||||||
|
|
||||||
if (!addr_listen) {
|
if (!addr_listen && !inetd) {
|
||||||
fprintf(stderr, "No listening address specified; use at least one -p option\n");
|
fprintf(stderr, "No listening address specified; use at least one -p option\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user