state: explicitly check for explicit keyword when loading from the ifstate file

This commit is contained in:
Ariadne Conill 2020-10-21 08:55:30 -06:00
parent 2a8a72eee7
commit b4f87cbd1e

View file

@ -34,7 +34,7 @@ lif_state_read(struct lif_dict *state, FILE *fd)
char *equals_p = strchr(linebuf, '=');
bool is_explicit = false;
if (*explicit)
if (*explicit && !strcmp(explicit, "explicit"))
is_explicit = true;
if (*refcount)