diff --git a/libifupdown/tokenize.h b/libifupdown/tokenize.h index 751c2f2..288f9a1 100644 --- a/libifupdown/tokenize.h +++ b/libifupdown/tokenize.h @@ -23,11 +23,11 @@ lif_next_token(char **buf) { char *out = *buf; - while (*out && isspace(*out)) + while (*out && (isspace(*out) || *out == '=')) out++; char *end = out; - while (*end && !isspace(*end)) + while (*end && !isspace(*end) && *out != '=') end++; *end++ = '\0';