summaryrefslogtreecommitdiffstats
path: root/src/bin/netconf
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2018-10-18 16:17:49 +0200
committerFrancis Dupont <fdupont@isc.org>2018-10-30 12:50:38 +0100
commit355d6185d8b0583b2343f8019200df25b9db103e (patch)
treeec7af43985ae8e668c1e6f35ac6bd9ae411c5d90 /src/bin/netconf
parent[153-netconf-agent] Added netconf agent code from kea-yang (diff)
downloadkea-355d6185d8b0583b2343f8019200df25b9db103e.tar.xz
kea-355d6185d8b0583b2343f8019200df25b9db103e.zip
[153-netconf-agent] Imported fixes
Diffstat (limited to 'src/bin/netconf')
-rw-r--r--src/bin/netconf/netconf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/netconf/netconf.cc b/src/bin/netconf/netconf.cc
index a125627937..9780109278 100644
--- a/src/bin/netconf/netconf.cc
+++ b/src/bin/netconf/netconf.cc
@@ -574,7 +574,7 @@ NetconfAgent::logChanges(S_Session sess, const string& model) {
break;
}
msg << "moved: " << new_val->xpath();
- if (old_val) {
+ if (!old_val) {
msg << " first";
} else {
msg << " after " << old_val->xpath();