summaryrefslogtreecommitdiff
path: root/src/cli_val.l
diff options
context:
space:
mode:
authorMichael Larson <slioch@slioch.vyatta.com>2010-05-31 18:15:14 -0700
committerMichael Larson <slioch@slioch.vyatta.com>2010-05-31 18:15:14 -0700
commit0cf868f7928a47a0f1ab429ee004e314572005a7 (patch)
treeb8e7ee8be16e648fe1c0ed49f8ae8f99d8a4cbe4 /src/cli_val.l
parent84c9b55a994cacbd5395c9ed2c5bf85834e60c13 (diff)
downloadvyatta-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_val.l')
-rw-r--r--src/cli_val.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cli_val.l b/src/cli_val.l
index c24a6dc..b2911a6 100644
--- a/src/cli_val.l
+++ b/src/cli_val.l
@@ -284,6 +284,7 @@ static void make_val_value(vtw_type_e type)
get_cli_value_ptr()->free_me = TRUE;
get_cli_value_ptr()->val = my_strdup(yytext, "cli_val.l");
get_cli_value_ptr()->val_type = type;
+ get_cli_value_ptr()->val_types = NULL;
}