diff options
author | Michael Larson <slioch@slioch.vyatta.com> | 2010-05-31 18:15:14 -0700 |
---|---|---|
committer | Michael Larson <slioch@slioch.vyatta.com> | 2010-05-31 18:15:14 -0700 |
commit | 0cf868f7928a47a0f1ab429ee004e314572005a7 (patch) | |
tree | b8e7ee8be16e648fe1c0ed49f8ae8f99d8a4cbe4 /src/cli_def.l | |
parent | 84c9b55a994cacbd5395c9ed2c5bf85834e60c13 (diff) | |
download | vyatta-cfg-0cf868f7928a47a0f1ab429ee004e314572005a7.tar.gz vyatta-cfg-0cf868f7928a47a0f1ab429ee004e314572005a7.zip |
fix for bug 5649. Need to initialize val_types for value comparison to ERROR_TYPE
Diffstat (limited to 'src/cli_def.l')
-rw-r--r-- | src/cli_def.l | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cli_def.l b/src/cli_def.l index a7de87d..0b4e5b0 100644 --- a/src/cli_def.l +++ b/src/cli_def.l @@ -154,6 +154,7 @@ return_value(vtw_type_e type) yy_cli_parse_lval.val.free_me = TRUE; yy_cli_parse_lval.val.val = strdup(yy_cli_def_text); yy_cli_parse_lval.val.val_type = type; + yy_cli_parse_lval.val.val_types = NULL; return VALUE; } |