From: Paul Mackerras Date: Fri, 26 Feb 1999 10:34:47 +0000 (+0000) Subject: allow chars 0x20 - 0x3f to be escaped X-Git-Tag: RELEASE_2_3_6~32 X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=24af3d4d6dbf452f8acaa1a15a9e08f96a0e6eb2;ds=sidebyside allow chars 0x20 - 0x3f to be escaped --- 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