summaryrefslogtreecommitdiff
path: root/channels.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels.c b/channels.c
index b5144f112..ac675c742 100644
--- a/channels.c
+++ b/channels.c
@@ -1242,7 +1242,7 @@ channel_decode_socks5(Channel *c, fd_set *readset, fd_set *writeset)
1242 dest_port = 0; /* ignored */ 1242 dest_port = 0; /* ignored */
1243 1243
1244 buffer_append(&c->output, &s5_rsp, sizeof(s5_rsp)); 1244 buffer_append(&c->output, &s5_rsp, sizeof(s5_rsp));
1245 buffet_put_int(&c->output, ntohl(INADDR_ANY)); 1245 buffer_put_int(&c->output, ntohl(INADDR_ANY)); /* bind address */
1246 buffer_append(&c->output, &dest_port, sizeof(dest_port)); 1246 buffer_append(&c->output, &dest_port, sizeof(dest_port));
1247 return 1; 1247 return 1;
1248} 1248}