summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-08-20 13:51:17 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2010-08-20 13:51:17 -0700
commitf03db62d2de2f91f79a08aa9da53e264a5e69ddc (patch)
tree492ce1bb7ecbd0b68ec82d7540be2b6143fd63a9 /src
parent64ad04d23107e97832ec81c0cc32a95214196d6d (diff)
downloadvyatta-cfg-f03db62d2de2f91f79a08aa9da53e264a5e69ddc.tar.gz
vyatta-cfg-f03db62d2de2f91f79a08aa9da53e264a5e69ddc.zip
mark nodes created by "default" as "changed"
Diffstat (limited to 'src')
-rw-r--r--src/cstore/cstore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cstore/cstore.cpp b/src/cstore/cstore.cpp
index f146cb0..86a9455 100644
--- a/src/cstore/cstore.cpp
+++ b/src/cstore/cstore.cpp
@@ -2552,7 +2552,7 @@ Cstore::create_default_children()
// has default value. set it.
push_cfg_path(tcnodes[i]);
if (!add_node() || !write_value(def.def_default)
- || !mark_display_default()) {
+ || !mark_display_default() || !mark_changed()) {
ret = false;
}
pop_cfg_path();