1
0
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:
Jaime Melis 2016-04-19 15:20:45 +02:00
parent 191eda35d3
commit e4db6af0ea
2 changed files with 5 additions and 5 deletions

View File

@ -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;
}

View File

@ -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
*/