summaryrefslogtreecommitdiff
path: root/src/delete.c
diff options
context:
space:
mode:
authorMichael Larson <slioch@slioch.vyatta.com>2010-05-20 13:35:28 -0700
committerMichael Larson <slioch@slioch.vyatta.com>2010-05-20 13:35:28 -0700
commitb07232847311699084653bb2f7a6cf0956ef4835 (patch)
tree9f225b4402928c6d1d7324a375704d2330058404 /src/delete.c
parentc1b384a44a794f6f3ce97816247dda1555b92e37 (diff)
downloadvyatta-cfg-b07232847311699084653bb2f7a6cf0956ef4835.tar.gz
vyatta-cfg-b07232847311699084653bb2f7a6cf0956ef4835.zip
fix for bug 5618. needed to extend valstruct to maintain multiple types rather than using first type found in node.val file. also simplified type check.
Diffstat (limited to 'src/delete.c')
-rw-r--r--src/delete.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/delete.c b/src/delete.c
index f432934..4f38f54 100644
--- a/src/delete.c
+++ b/src/delete.c
@@ -322,8 +322,8 @@ int main(int argc, char **argv)
bye("Corrupted old value ---- \n%s\n-----\n", cp);
res = val_cmp(&new_value, &old_value, IN_COND);
if (!res) {
- fprintf(out_stream, "%s is not a configured value\n", new_value.val);
- bye("Not in multivalue");
+ fprintf(out_stream, "%s is not a configured value, %s\n", new_value.val,old_value.val);
+ bye("Not in multivalue");
}
touch();
if (old_value.cnt) {