diff options
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/dhclient/conflex.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sbin/dhclient/conflex.c b/sbin/dhclient/conflex.c index 59888293d95..588873e2178 100644 --- a/sbin/dhclient/conflex.c +++ b/sbin/dhclient/conflex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conflex.c,v 1.27 2014/01/18 01:41:28 krw Exp $ */ +/* $OpenBSD: conflex.c,v 1.28 2014/01/19 03:54:25 krw Exp $ */ /* Lexical scanner for dhclient config file. */ @@ -130,11 +130,14 @@ get_token(FILE *cfile) { int c, ttok; static char tb[2]; - int l, p; + int l, p, u; + u = ugflag; + do { l = line; - p = lpos - ugflag; + p = lpos - u; + u = 0; c = get_char(cfile); |