summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/ppp/defs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/defs.c b/usr.sbin/ppp/defs.c
index 3c72128..2924368 100644
--- a/usr.sbin/ppp/defs.c
+++ b/usr.sbin/ppp/defs.c
@@ -301,7 +301,7 @@ MakeArgs(char *script, char **pvect, int maxargs, int flags)
nargs = 0;
while (*script) {
script += strspn(script, " \t");
- if (*script == '#' && flags & PARSE_NOHASH) {
+ if (*script == '#' && !(flags & PARSE_NOHASH)) {
*script = '\0';
break;
}
OpenPOWER on IntegriCloud