]> andersk Git - gssapi-openssh.git/blobdiff - openssh/compat.c
openssh-4.2p1-hpn11-none.diff from
[gssapi-openssh.git] / openssh / compat.c
index 4086e853ed6e48bb8b5973709620261a5ebc808e..a331014111343a8f004255657523df9e172ea14b 100644 (file)
@@ -162,6 +162,14 @@ 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;
+                               }
+                       }
                        return;
                }
        }
This page took 0.044535 seconds and 4 git commands to generate.