diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-07-23 21:00:10 -0700 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-07-23 21:00:10 -0700 |
commit | ce7b72eb71af9c5f7bf9ab0f423ec44c955a4b9a (patch) | |
tree | 9b0d64b93c5871a9b738fb711d6e06fa64025522 /src/cstore/cstore-varref.cpp | |
parent | cf6a189183122b6316ed8819dcdec19527f2e0c5 (diff) | |
download | vyatta-cfg-ce7b72eb71af9c5f7bf9ab0f423ec44c955a4b9a.tar.gz vyatta-cfg-ce7b72eb71af9c5f7bf9ab0f423ec44c955a4b9a.zip |
Bugfix 7362: Make reset_paths reset to root level when resolving varrefs
Diffstat (limited to 'src/cstore/cstore-varref.cpp')
-rw-r--r-- | src/cstore/cstore-varref.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cstore/cstore-varref.cpp b/src/cstore/cstore-varref.cpp index f4a6918..4ece3b0 100644 --- a/src/cstore/cstore-varref.cpp +++ b/src/cstore/cstore-varref.cpp @@ -47,7 +47,7 @@ Cstore::VarRef::VarRef(Cstore *cstore, const string& ref_str, bool active) _orig_path_comps.push(tmp.back()); tmp.pop_back(); } - _cstore->reset_paths(); + _cstore->reset_paths(true); /* at this point, cstore paths are at root. _orig_path_comps contains * the path originally in cstore (or empty if _absolute). */ |