diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | channels.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ | |||
1 | 20130913 | 1 | 20130913 |
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 | ||
6 | 20130808 | 7 | 20130808 |
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 | } |