]> andersk Git - gssapi-openssh.git/blobdiff - openssh/compat.c
http://www.psc.edu/networking/projects/hpn-ssh/openssh-5.2p1-hpn13v6.diff.gz committe...
[gssapi-openssh.git] / openssh / compat.c
index df3541df70efbd5412b85be6eb4c5cf537b7736d..0b3df86428f5c4f407387327f1fc4920ca93eb53 100644 (file)
@@ -170,6 +170,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.111024 seconds and 4 git commands to generate.