summaryrefslogtreecommitdiff
path: root/nDPIsrvd.c
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2021-04-15 10:18:59 +0200
committerToni Uhlig <matzeton@googlemail.com>2021-04-15 11:21:37 +0200
commita0fa598ceeceb5496d1b837ca8ff41bdad866a2f (patch)
treea6b8dbb37a0a0ed166cf29fa22a0f66e6f452fb1 /nDPIsrvd.c
parent0c034ffba1bb1a74e09bb6a436fc6a4578d01ba2 (diff)
travis-ci build CMake project
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'nDPIsrvd.c')
-rw-r--r--nDPIsrvd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nDPIsrvd.c b/nDPIsrvd.c
index f687a29e6..7e3a62167 100644
--- a/nDPIsrvd.c
+++ b/nDPIsrvd.c
@@ -879,19 +879,18 @@ int main(int argc, char ** argv)
}
syslog(LOG_DAEMON, "collector listen on %s", nDPIsrvd_options.json_sockpath);
+ syslog(LOG_DAEMON, "distributor listen on %s", nDPIsrvd_options.serv_optarg);
switch (serv_address.raw.sa_family)
{
default:
goto error;
case AF_INET:
case AF_INET6:
- syslog(LOG_DAEMON, "distributor listen on %s", nDPIsrvd_options.serv_optarg);
syslog(LOG_DAEMON | LOG_ERR,
"Please keep in mind that using a TCP Socket may leak sensitive information to "
"everyone with access to the device/network. You've been warned!");
break;
case AF_UNIX:
- syslog(LOG_DAEMON, "distributor listen on %s", nDPIsrvd_options.json_sockpath);
break;
}