about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2013-02-10 20:21:35 +0100
committerAlexander Barton <alex@barton.de>2013-02-10 20:21:53 +0100
commit69c3f9699892e55edb82f6e9497389024e61badc (patch)
tree3bd810150c595714233766ff1507a7ad253bca78
parent5c6875d7686e1b4dbf1a82b6d159bd5f18da4a52 (diff)
downloadngircd-69c3f9699892e55edb82f6e9497389024e61badc.tar.gz
ngircd-69c3f9699892e55edb82f6e9497389024e61badc.zip
Show address and port of sockets passed-in by systemd(8)
-rw-r--r--src/ngircd/conn.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c
index be306e5f..3a430428 100644
--- a/src/ngircd/conn.c
+++ b/src/ngircd/conn.c
@@ -588,7 +588,8 @@ Conn_InitListeners( void )
 				continue;
 			}
 			Log(LOG_INFO,
-			    "Initialized socket %d from systemd.", fd);
+			    "Initialized socket %d from systemd(8): %s:%d.", fd,
+			    ng_ipaddr_tostr(&addr), ng_ipaddr_getport(&addr));
 			created++;
 		}
 		return created;