]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[153-netconf-agent] Imported fixes
authorFrancis Dupont <fdupont@isc.org>
Thu, 18 Oct 2018 14:17:49 +0000 (16:17 +0200)
committerFrancis Dupont <fdupont@isc.org>
Tue, 30 Oct 2018 11:50:38 +0000 (07:50 -0400)
src/bin/netconf/netconf.cc

index a125627937c17f02255e8c01c54d140d09a16328..9780109278aaa4ace23dfec5cd6acfbe46257221 100644 (file)
@@ -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();