summaryrefslogtreecommitdiff
path: root/src/cli_val_engine.c
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-11-01 11:39:27 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2007-11-01 11:39:27 -0700
commit4e3a70dddcaa79909c13232be91a16be2262acfd (patch)
tree871eff634c197ed04cdc1ed1e5f875a407e63195 /src/cli_val_engine.c
parent45f0f4e2336f339ec0deefcd17a1892d0274e1e6 (diff)
downloadvyatta-cfg-4e3a70dddcaa79909c13232be91a16be2262acfd.tar.gz
vyatta-cfg-4e3a70dddcaa79909c13232be91a16be2262acfd.zip
fix cli backend bug: syntax checking for leaf value nodes involving
variable references was not working.
Diffstat (limited to 'src/cli_val_engine.c')
-rw-r--r--src/cli_val_engine.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cli_val_engine.c b/src/cli_val_engine.c
index d597c68..8090a2a 100644
--- a/src/cli_val_engine.c
+++ b/src/cli_val_engine.c
@@ -207,7 +207,6 @@ static char** clind_get_current_value(clind_path_ref cfg_path,
struct stat statbuf;
/* Directory reference: */
-
if(!check_existence || (lstat(cfg_path_string, &statbuf) == 0)) {
ret=(char**)realloc(ret,sizeof(char*)*1);
ret[0]=clind_unescape(cfg_end);
@@ -708,7 +707,6 @@ int clind_config_engine_apply_command_path(clind_path_ref cfg_path_orig,
if(config_paths[i]) {
int vallen=0;
-
char** valarr=clind_get_current_value(config_paths[i],
tmpl_path,
check_existence,