From aaf6abc70dbc1957dd88e498bf050bd44978d27c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20S=2E=20Montero?= Date: Fri, 14 Nov 2008 21:55:21 +0000 Subject: [PATCH] solved a bug when removing a network and then adding a new one git-svn-id: http://svn.opennebula.org/one/trunk@238 3034c82b-c49b-4eb3-8279-a7acafdc01c0 --- src/vnm/VirtualNetwork.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) {