From c314128858c84bcee453d5b291eb8536e06f9aca Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 14 Dec 2010 18:08:52 +0000 Subject: listener info output on SIG USR1 clients info output on SIG USR2 git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@59 e61f0598-a718-4e21-a8f0-0aadfa62ad6b --- src/tcpproxy.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/tcpproxy.c') diff --git a/src/tcpproxy.c b/src/tcpproxy.c index 1007b80..7645c39 100644 --- a/src/tcpproxy.c +++ b/src/tcpproxy.c @@ -81,6 +81,10 @@ int main_loop(options_t* opt, listeners_t* listeners) log_printf(NOTICE, "ignoring SIGHUP: no config file specified"); return_value = 0; + } else if(return_value == 3) { + listeners_print(listeners); + } else if(return_value == 4) { + clients_print(&clients); } } -- cgit v1.2.3