aboutsummaryrefslogtreecommitdiff
path: root/nDPIsrvd.c
diff options
context:
space:
mode:
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;
}