aboutsummaryrefslogtreecommitdiff
path: root/src/ptunnel.c
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2017-12-19 16:58:16 +0100
committerToni Uhlig <matzeton@googlemail.com>2017-12-19 16:58:16 +0100
commit90d249e7e9661b2b7227d17a7a6ff5c57b846c43 (patch)
tree8f939cc1a71280cb641ef6eae513d53914357368 /src/ptunnel.c
parent81f3c49c3fc55d05e748ccc376e33eae11003b98 (diff)
ptunnel-ng:
* changed option (--listen) visibility * added TODO
Diffstat (limited to 'src/ptunnel.c')
-rw-r--r--src/ptunnel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ptunnel.c b/src/ptunnel.c
index 85f3b5f..b8f022c 100644
--- a/src/ptunnel.c
+++ b/src/ptunnel.c
@@ -167,6 +167,7 @@ int main(int argc, char *argv[]) {
pt_log(kLog_debug, "Destination at %s:%u\n", opts.given_dst_hostname, opts.given_dst_port);
+ /* TODO: Maybe give the user the opportunity to bind to certain addresses e.g. 127.0.0.1 ? */
if (opts.mode == kMode_forward)
pt_log(kLog_debug, "Listen for incoming connections at 0.0.0.0:%u\n", opts.tcp_listen_port);