From 24af3d4d6dbf452f8acaa1a15a9e08f96a0e6eb2 Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Fri, 26 Feb 1999 10:34:47 +0000 Subject: [PATCH 1/1] allow chars 0x20 - 0x3f to be escaped --- pppd/lcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pppd/lcp.c b/pppd/lcp.c index 5f7cbfb..73389bd 100644 --- a/pppd/lcp.c +++ b/pppd/lcp.c @@ -18,7 +18,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: lcp.c,v 1.33 1998/11/07 06:59:27 paulus Exp $"; +static char rcsid[] = "$Id: lcp.c,v 1.34 1999/02/26 10:34:47 paulus Exp $"; #endif /* @@ -242,7 +242,7 @@ setescape(argv) return 0; } p = endp; - if (n < 0 || (0x20 <= n && n <= 0x3F) || n == 0x5E || n > 0xFF) { + if (n < 0 || n == 0x5E || n > 0xFF) { option_error("can't escape character 0x%x", n); ret = 0; } else -- 2.39.2