From: Francis Dupont Date: Thu, 18 Oct 2018 14:17:49 +0000 (+0200) Subject: [153-netconf-agent] Imported fixes X-Git-Tag: 176-update-to-sysrepo-0-7-6-release_base~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=355d6185d8b0583b2343f8019200df25b9db103e;p=thirdparty%2Fkea.git [153-netconf-agent] Imported fixes --- 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();