diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-11-19 15:30:34 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-11-19 15:30:34 -0800 |
commit | 39b7704d70df29cbd0a7a50eb851d7c5fb3afe2b (patch) | |
tree | bde7c891e513069b097fc1379752ad020a51aa9a /src/cstore | |
parent | 4ab2de09d4a5985fb1dd3cb59908934a64ae7571 (diff) | |
parent | 9ed305de8fc62e8ee17627f85e7d3efc82719b78 (diff) | |
download | vyatta-cfg-39b7704d70df29cbd0a7a50eb851d7c5fb3afe2b.tar.gz vyatta-cfg-39b7704d70df29cbd0a7a50eb851d7c5fb3afe2b.zip |
Merge branch 'mendocino' of suva.vyatta.com:/git/vyatta-cfg into mendocino
Diffstat (limited to 'src/cstore')
-rw-r--r-- | src/cstore/cstore-varref.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cstore/cstore-varref.cpp b/src/cstore/cstore-varref.cpp index 02bdb97..ac80ba2 100644 --- a/src/cstore/cstore-varref.cpp +++ b/src/cstore/cstore-varref.cpp @@ -238,7 +238,9 @@ Cstore::VarRef::getValue(string& value, vtw_type_e& def_type) } if (_paths[i].second == ERROR_TYPE && !_cstore->cfgPathExists(_paths[i].first, _active)) { - // path doesn't exist + // path doesn't exist => empty string + added[""] = true; + result.push_back(""); continue; } if (_paths[i].second != ERROR_TYPE) { |