summaryrefslogtreecommitdiff
path: root/src/cli_objects.c
diff options
context:
space:
mode:
authoralex <alex@builder.localdomain>2007-12-11 15:12:36 -0800
committeralex <alex@builder.localdomain>2007-12-11 15:12:36 -0800
commitfb9450551d5757a45806a062d7457a761e6dd295 (patch)
treecda8e28bdf2c1bc23d98de6de9437b1c90c5f654 /src/cli_objects.c
parent1d78b0c336c8d3ae62f65983098584a6e2e613ce (diff)
downloadvyatta-cfg-fb9450551d5757a45806a062d7457a761e6dd295.tar.gz
vyatta-cfg-fb9450551d5757a45806a062d7457a761e6dd295.zip
Bug #2509
Multivalue nodes are diffed with previous value for validation before commit.
Diffstat (limited to 'src/cli_objects.c')
-rw-r--r--src/cli_objects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli_objects.c b/src/cli_objects.c
index 9bb36f0..8f0f6fe 100644
--- a/src/cli_objects.c
+++ b/src/cli_objects.c
@@ -334,7 +334,7 @@ void init_paths(boolean for_commit)
init_path(&m_path, startp);
switch_path(get_f_seg_c_ptr());
m_path.print_offset = max_len;
- }else
+ } else
init_path(&m_path, mdirp);
init_path(&t_path, tdirp);