summaryrefslogtreecommitdiff
path: root/src/tcpproxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tcpproxy.c')
-rw-r--r--src/tcpproxy.c4
1 files changed, 4 insertions, 0 deletions
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);
}
}