state: explicitly check for explicit keyword when loading from the ifstate file
This commit is contained in:
parent
61da61dfdb
commit
93dff79567
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