]> git.ozlabs.org Git - ppp.git/commitdiff
allow chars 0x20 - 0x3f to be escaped
authorPaul Mackerras <paulus@samba.org>
Fri, 26 Feb 1999 10:34:47 +0000 (10:34 +0000)
committerPaul Mackerras <paulus@samba.org>
Fri, 26 Feb 1999 10:34:47 +0000 (10:34 +0000)
pppd/lcp.c

index 5f7cbfb3031a97676d4d3c26884bb8c40afc07b6..73389bd7a9075afcf84c85c5fac1e44b8f127163 100644 (file)
@@ -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