mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Make it possible to ``.undef ${VAR}'' (expanding VAR to get
the variable name to undef). Submitted by: Cyrille Lefevre
This commit is contained in:
parent
f25ee08633
commit
577cf233eb
1 changed files with 1 additions and 0 deletions
|
|
@ -2393,6 +2393,7 @@ Parse_File(char *name, FILE *stream)
|
|||
|
||||
*cp2 = '\0';
|
||||
|
||||
cp = Var_Subst(NULL, cp, VAR_CMD, FALSE);
|
||||
Var_Delete(cp, VAR_GLOBAL);
|
||||
goto nextLine;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue