1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-24 21:34:01 +03:00

Development: Do not change vn_mad string

This commit is contained in:
Ruben S. Montero 2016-05-24 23:59:50 +02:00
parent df39b21c46
commit 698014748b

View File

@ -73,15 +73,13 @@ public:
}
};
static VirtualNetworkDriver str_to_driver(string& ob)
static VirtualNetworkDriver str_to_driver(const string& ob)
{
one_util::tolower(ob);
if ( ob == "dummy" )
{
return DUMMY;
}
else if ( ob == "802.1q" )
else if ( ob == "802.1Q" )
{
return VLAN;
}