summaryrefslogtreecommitdiff
path: root/src/cli_new.c
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-06-08 16:18:23 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2010-06-08 16:18:23 -0700
commita102e2b878bc334efbf0ea250d8e8e8ec170ca58 (patch)
tree2f4848678122e1dac4fc066615560d89c12cd381 /src/cli_new.c
parent1f784903ec79a37185cd5b961491843138b263e9 (diff)
downloadvyatta-cfg-a102e2b878bc334efbf0ea250d8e8e8ec170ca58.tar.gz
vyatta-cfg-a102e2b878bc334efbf0ea250d8e8e8ec170ca58.zip
fix for bug 5213
* handle absolute variable references correctly.
Diffstat (limited to 'src/cli_new.c')
-rw-r--r--src/cli_new.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cli_new.c b/src/cli_new.c
index 06bd4bf..842a4a2 100644
--- a/src/cli_new.c
+++ b/src/cli_new.c
@@ -1133,7 +1133,6 @@ static int change_var_value(const char* var_reference,const char* value, int act
n_cmd_path,
FALSE,
&cv,
- get_cdirp(),
get_tdirp(),
TRUE)==0) {
var_path=cv.value;
@@ -1403,7 +1402,6 @@ static int eval_va(valstruct *res, vtw_node *node)
n_cmd_path,
TRUE,
&cv,
- get_cdirp(),
get_tdirp(),
FALSE);
@@ -1562,7 +1560,6 @@ static int expand_string(char *stringp)
n_cmd_path,
TRUE,
&cv,
- get_cdirp(),
get_tdirp(),
FALSE)==0) {
cp=cv.value;