]> andersk Git - gssapi-openssh.git/blobdiff - openssh/loginrec.c
Import of OpenSSH 3.2.2p1
[gssapi-openssh.git] / openssh / loginrec.c
index 1805f3ee836ec1f67f543c5687fda0cd801b6364..7aa102545fcaa3c260ae7daeada7f015626f31a9 100644 (file)
@@ -564,6 +564,11 @@ line_abbrevname(char *dst, const char *src, int dstsize)
        if (strncmp(src, "/dev/", 5) == 0)
                src += 5;
 
+#ifdef WITH_ABBREV_NO_TTY
+       if (strncmp(src, "tty", 3) == 0)
+               src += 3;
+#endif
+
        len = strlen(src);
 
        if (len > 0) {
This page took 0.187254 seconds and 4 git commands to generate.