mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-30 22:50:10 +03:00
Bug #4376: Fix typo
This commit is contained in:
parent
191eda35d3
commit
e4db6af0ea
@ -68,20 +68,20 @@ public:
|
||||
case VLAN: return "802.1Q";
|
||||
case EBTABLES: return "ebtables";
|
||||
case FW: return "fw";
|
||||
case OVSWITCH: return "ovswtich";
|
||||
case OVSWITCH: return "ovswitch";
|
||||
case VXLAN: return "vxlan";
|
||||
}
|
||||
};
|
||||
|
||||
static VirtualNetworkDriver str_to_driver(string& ob)
|
||||
{
|
||||
one_util::toupper(ob);
|
||||
one_util::tolower(ob);
|
||||
|
||||
if ( ob == "dummy" )
|
||||
{
|
||||
return DUMMY;
|
||||
}
|
||||
else if ( ob == "802.1Q" )
|
||||
else if ( ob == "802.1q" )
|
||||
{
|
||||
return VLAN;
|
||||
}
|
||||
@ -93,7 +93,7 @@ public:
|
||||
{
|
||||
return FW;
|
||||
}
|
||||
else if ( ob == "ovswtich" )
|
||||
else if ( ob == "ovswitch" )
|
||||
{
|
||||
return OVSWITCH;
|
||||
}
|
||||
|
@ -265,7 +265,7 @@ private:
|
||||
//--------------------------------------------------------------------------
|
||||
/**
|
||||
* Gets a free VLAN_ID, if not set by the user, and for VXLAN, VLAN and
|
||||
* OVSWTICH networks.
|
||||
* OVSWITCH networks.
|
||||
* @param vn pointer to the network
|
||||
* @return 0 on success
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user