state: explicitly check for explicit keyword when loading from the ifstate file
This commit is contained in:
parent
2a8a72eee7
commit
b4f87cbd1e
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ lif_state_read(struct lif_dict *state, FILE *fd)
|
||||||
char *equals_p = strchr(linebuf, '=');
|
char *equals_p = strchr(linebuf, '=');
|
||||||
bool is_explicit = false;
|
bool is_explicit = false;
|
||||||
|
|
||||||
if (*explicit)
|
if (*explicit && !strcmp(explicit, "explicit"))
|
||||||
is_explicit = true;
|
is_explicit = true;
|
||||||
|
|
||||||
if (*refcount)
|
if (*refcount)
|
||||||
|
|
Loading…
Reference in a new issue