summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i386/i386at/kd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c
index 3774fe79..ea2e4ef5 100644
--- a/i386/i386at/kd.c
+++ b/i386/i386at/kd.c
@@ -1499,7 +1499,7 @@ kd_parserest(u_char *cp)
case '\0':
break; /* not enough yet */
default:
- if ((*cp >= 'a' && *cp <= 'z') || (*cp >= 'A' && *cp <= 'Z'))
+ if (*cp >= '@' && *cp <= '~')
{
/* Unsupported sequence, just silently drop */
}
@@ -1517,7 +1517,7 @@ kd_parserest(u_char *cp)
case '\0':
break; /* not enough yet */
default:
- if ((*cp >= 'a' && *cp <= 'z') || (*cp >= 'A' && *cp <= 'Z'))
+ if (*cp >= '@' && *cp <= '~')
{
/* Unsupported sequence, just silently drop */
}
@@ -1775,7 +1775,7 @@ kd_parserest(u_char *cp)
case '\0':
break; /* not enough yet */
default:
- if ((*cp >= 'a' && *cp <= 'z') || (*cp >= 'A' && *cp <= 'Z'))
+ if (*cp >= '@' && *cp <= '~')
{
/* Unsupported sequence, just silently drop */
}