]> andersk Git - gssapi-openssh.git/blobdiff - openssh/compat.c
http://www.psc.edu/networking/projects/hpn-ssh/openssh-5.1p1-hpn13v5.diff.gz committe...
[gssapi-openssh.git] / openssh / compat.c
index bc113158144bef3a0dda64a8664e5c87956d79f1..d1addc871ead6e68789f6cbb4d26d7cc04046d81 100644 (file)
@@ -169,6 +169,15 @@ compat_datafellows(const char *version)
                    strlen(check[i].pat), 0) == 1) {
                        debug("match: %s pat %s", version, check[i].pat);
                        datafellows = check[i].bugs;
+                       /* Check to see if the remote side is OpenSSH and not HPN */
+                       if(strstr(version,"OpenSSH") != NULL)
+                       {
+                               if (strstr(version,"hpn") == NULL)
+                               {
+                                       datafellows |= SSH_BUG_LARGEWINDOW;
+                                       debug("Remote is NON-HPN aware");
+                               }
+                       }
                        return;
                }
        }
This page took 0.034994 seconds and 4 git commands to generate.