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.hpp | |
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.hpp')
-rw-r--r-- | src/cstore/cstore.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cstore/cstore.hpp b/src/cstore/cstore.hpp index d6f6d67..228a6c3 100644 --- a/src/cstore/cstore.hpp +++ b/src/cstore/cstore.hpp @@ -339,7 +339,7 @@ private: virtual void pop_cfg_path() = 0; virtual void pop_cfg_path(string& last) = 0; virtual void append_cfg_path(const Cpath& path_comps) = 0; - virtual void reset_paths() = 0; + virtual void reset_paths(bool to_root = true) = 0; virtual auto_ptr<SavePaths> create_save_paths() = 0; virtual bool cfg_path_at_root() = 0; virtual bool tmpl_path_at_root() = 0; |