diff options
author | Michael Larson <slioch@eng-140.vyatta.com> | 2008-04-22 17:28:00 -0700 |
---|---|---|
committer | Michael Larson <slioch@eng-140.vyatta.com> | 2008-04-22 17:28:00 -0700 |
commit | 52b1e7ee61b6ce0e046371260dc13e333e3f62ca (patch) | |
tree | 0374f8070b74327be47f2dd7b0efc8bd117bfb7e /src/commit.c | |
parent | 6ec19ddffc7ff6d8806a913314ceee6565d132c9 (diff) | |
download | vyatta-cfg-52b1e7ee61b6ce0e046371260dc13e333e3f62ca.tar.gz vyatta-cfg-52b1e7ee61b6ce0e046371260dc13e333e3f62ca.zip |
create def file to mark configuration nodes that are created by default, rather than a node with a default value created by a
user. partial fix for bug 1219. Allows system to differentiate between active def nodes versus user created nodes with def
values.
Diffstat (limited to 'src/commit.c')
-rw-r--r-- | src/commit.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/commit.c b/src/commit.c index 1221e37..3b4d9d3 100644 --- a/src/commit.c +++ b/src/commit.c @@ -289,6 +289,11 @@ static boolean validate_dir_for_commit() continue; } + if (strcmp(uename,"def") == 0) { + ret = TRUE; + continue; + } + push_path(&m_path, uename); /* PUSH 3 */ if (lstat(m_path.path, &statbuf) < 0) { printf("Can't read directory %s\n", |