summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--channels.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 091f0d8e9..1a0d2545e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
120130913 120130913
2 - (djm) [channels.c] Fix unaligned access on sparc machines in SOCKS5 code; 2 - (djm) [channels.c] Fix unaligned access on sparc machines in SOCKS5 code;
3 ok dtucker@ 3 ok dtucker@
4 - (djm) [channels.c] sigh, typo s/buffet_/buffer_/
4 - (djm) Release 6.3p1 5 - (djm) Release 6.3p1
5 6
620130808 720130808
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}