Show address and port of sockets passed-in by systemd(8)

This commit is contained in:
Alexander Barton 2013-02-10 20:21:35 +01:00
parent 5c6875d768
commit 69c3f96998
1 changed files with 2 additions and 1 deletions

View File

@ -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;