summaryrefslogtreecommitdiffstats
path: root/tcpsyslog.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-21 14:37:50 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-21 14:37:50 +0000
commit4e6bba7df8170514183040897e363528c574be0e (patch)
tree60fc7da7ba8c7627347ba5d6bdae5b64fe1eb9f1 /tcpsyslog.c
parent783d2c0368b7992822bfea3a981e56bf063b188a (diff)
downloadrsyslog-4e6bba7df8170514183040897e363528c574be0e.tar.gz
rsyslog-4e6bba7df8170514183040897e363528c574be0e.tar.xz
rsyslog-4e6bba7df8170514183040897e363528c574be0e.zip
created first version of imtcp (still very much depending on syslogd.c for
configuration and a lot of other things)
Diffstat (limited to 'tcpsyslog.c')
-rw-r--r--tcpsyslog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcpsyslog.c b/tcpsyslog.c
index 022a5fc4..f4a94bb8 100644
--- a/tcpsyslog.c
+++ b/tcpsyslog.c
@@ -276,6 +276,7 @@ int *create_tcp_socket(void)
* many existing configurations.
* rgerhards, 2007-06-28
*/
+dbgprintf("creating tcp socket on port %s\n", TCPLstnPort);
memset(&hints, 0, sizeof(hints));
hints.ai_flags = AI_PASSIVE | AI_NUMERICSERV;
hints.ai_family = family;