diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2010-08-20 13:51:17 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2010-08-20 13:51:17 -0700 |
commit | f03db62d2de2f91f79a08aa9da53e264a5e69ddc (patch) | |
tree | 492ce1bb7ecbd0b68ec82d7540be2b6143fd63a9 /src | |
parent | 64ad04d23107e97832ec81c0cc32a95214196d6d (diff) | |
download | vyatta-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.cpp | 2 |
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(); |