diff options
author | brian <brian@cvs.openbsd.org> | 1997-12-21 02:11:30 +0000 |
---|---|---|
committer | brian <brian@cvs.openbsd.org> | 1997-12-21 02:11:30 +0000 |
commit | 30d8166fd59c857243c66b08bb5e5df371e9c552 (patch) | |
tree | 14ae7e3f93370f98570c8c5ed6e3af4fdcb6983b /usr.sbin | |
parent | b49ea14a8149c00af31d67b58875351cf9728e35 (diff) |
Index: systems.c
===================================================================
RCS file: /home/ncvs/src/usr.sbin/ppp/systems.c,v
retrieving revision 1.31
diff -u -r1.31 systems.c
--- systems.c 1997/12/17 21:22:01 1.31
+++ systems.c 1997/12/21 01:35:58
@@ -288,6 +288,8 @@
if (issep(*cp)) {
n = strspn(cp, " \t");
cp += n;
+ if (*cp == '#')
+ continue;
len = strlen(cp);
if (!len)
continue;
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ppp/systems.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ppp/systems.c b/usr.sbin/ppp/systems.c index a59f2dcb5f1..f6a1b88cef8 100644 --- a/usr.sbin/ppp/systems.c +++ b/usr.sbin/ppp/systems.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: systems.c,v 1.4 1997/12/17 21:18:07 brian Exp $ + * $Id: systems.c,v 1.5 1997/12/21 02:11:29 brian Exp $ * * TODO: */ @@ -288,6 +288,8 @@ ReadSystem(const char *name, const char *file, int doexec) if (issep(*cp)) { n = strspn(cp, " \t"); cp += n; + if (*cp == '#') + continue; len = strlen(cp); if (!len) continue; |