mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-20 10:50:08 +03:00
Feature #1037: Set VLAN to YES when PHYDEV is present and VLAN is not
This commit is contained in:
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 --------------------
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user