summaryrefslogtreecommitdiff
path: root/src/cnode/cnode-algorithm.cpp
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-11-10 14:08:51 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2010-11-10 14:08:51 -0800
commit5a0e77fe4729bd9df3339c1d85efefdfc8ef1cbb (patch)
tree2272c5abc545fcfd13580529a02e820440bd5d75 /src/cnode/cnode-algorithm.cpp
parent51d0de81c63be3d0768fffe21955d2997de67c32 (diff)
downloadvyatta-cfg-5a0e77fe4729bd9df3339c1d85efefdfc8ef1cbb.tar.gz
vyatta-cfg-5a0e77fe4729bd9df3339c1d85efefdfc8ef1cbb.zip
switch to new output framework
* change showCfg to use new code. * remove old files.
Diffstat (limited to 'src/cnode/cnode-algorithm.cpp')
-rw-r--r--src/cnode/cnode-algorithm.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cnode/cnode-algorithm.cpp b/src/cnode/cnode-algorithm.cpp
index 9f67d7d..58e8a65 100644
--- a/src/cnode/cnode-algorithm.cpp
+++ b/src/cnode/cnode-algorithm.cpp
@@ -131,6 +131,7 @@ _diff_print_comment(CfgNode *cfg1, CfgNode *cfg2, int level)
} else {
// same node => no diff
pfx_diff = PFX_DIFF_NULL.c_str();
+ comment = cfg1->getComment();
}
if (comment == "") {
// no comment