Skip to content

Commit 8166be1

Browse files
committed
Fix inetd mode (fix #399)
1 parent 684374f commit 8166be1

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

ChangeLog

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
v2.1.1:
2+
Fix inetd mode.
3+
14
v2.1.0:
25
Support for the Landlock LSM. After initial setup,
36
sslh gives up all local file access rights.

sslh-main.c

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
#include "common.h"
3838
#include "probe.h"
3939
#include "log.h"
40+
#include "tcp-probe.h"
4041

4142
/* Constants for options that have no one-character shorthand */
4243
#define OPT_ONTIMEOUT 257
@@ -246,6 +247,7 @@ int main(int argc, char *argv[], char* envp[])
246247
if (cfg.inetd)
247248
{
248249
close(fileno(stderr)); /* Make sure no error will go to client */
250+
tcp_init();
249251
start_shoveler(0);
250252
exit(0);
251253
}

0 commit comments

Comments
 (0)