diff --git a/src/vnm/VirtualNetwork.cc b/src/vnm/VirtualNetwork.cc index 9787e2c1fb..2538618119 100644 --- a/src/vnm/VirtualNetwork.cc +++ b/src/vnm/VirtualNetwork.cc @@ -239,7 +239,7 @@ int VirtualNetwork::insert(SqliteDB * db) } // Insert the template first - rc = vn_template.insert(db); + rc = vn_template.update(db); if ( rc != 0 ) {