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:
parent
df39b21c46
commit
698014748b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user