projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Take the code that does flow control in SSH-1, and make it work in SSH-2
[u/mdw/putty]
/
config.c
diff --git
a/config.c
b/config.c
index
d5b50dd
..
fd1379a
100644
(file)
--- a/
config.c
+++ b/
config.c
@@
-1049,7
+1049,9
@@
static void portfwd_handler(union control *ctrl, void *dlg,
{
static const char *const afs = "A46";
char *afp = strchr(afs, *p);
+#ifndef NO_IPV6
int idx = afp ? afp-afs : 0;
+#endif
if (afp)
p++;
#ifndef NO_IPV6