1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-20 10:50:08 +03:00

Feature : Set VLAN to YES when PHYDEV is present and VLAN is not

This commit is contained in:
Carlos Martín 2011-12-19 08:19:30 -08:00
parent f0d8ac78d6
commit c21dd70b19

@ -228,7 +228,7 @@ int VirtualNetwork::insert(SqlDB * db, string& error_str)
TO_UPPER(vlan_attr);
vlan = (vlan_attr == "YES");
vlan = (vlan_attr == "YES") || (vlan_attr.empty() && !phydev.empty());
// ------------ BRIDGE --------------------