mirror of
https://github.com/opnsense/src.git
synced 2026-04-21 14:17:06 -04:00
Revert part of r280687, reporting "1" (true) for empty value.
For example, it made gpart partitions without label report "1" as label. PR: 202089 MFC after: 3 days
This commit is contained in:
parent
6d57346a39
commit
0aedf4e812
1 changed files with 1 additions and 1 deletions
|
|
@ -286,7 +286,7 @@ EndElement(void *userData, const char *name)
|
|||
"element", name);
|
||||
return;
|
||||
}
|
||||
gc->lg_val = p ? p : strdup("1");
|
||||
gc->lg_val = p;
|
||||
LIST_INSERT_HEAD(c, gc, lg_config);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue