diff --git a/include/VirtualNetwork.h b/include/VirtualNetwork.h index c4d86969c2..3d529dbf06 100644 --- a/include/VirtualNetwork.h +++ b/include/VirtualNetwork.h @@ -580,7 +580,7 @@ private: string& id, bool& auto_id); /** - * Check consistency of PHY_DEV, BRIDGE and VLAN attributes depending on + * Check consistency of PHYDEV, BRIDGE and VLAN attributes depending on * the network driver * @param error_str describing the error * @return 0 on success -1 otherwise @@ -676,7 +676,7 @@ private: int from_xml(const string &xml_str); /** - * Updates the BRIDGE, PHY_DEV, and VLAN_ID attributes. + * Updates the BRIDGE, PHYDEV, and VLAN_ID attributes. * @param error string describing the error if any * @return 0 on success */ diff --git a/src/vnm/VirtualNetwork.cc b/src/vnm/VirtualNetwork.cc index 15b68b1572..7c54c69b32 100644 --- a/src/vnm/VirtualNetwork.cc +++ b/src/vnm/VirtualNetwork.cc @@ -124,7 +124,7 @@ void VirtualNetwork::parse_vlan_id(const char * id_name, const char * auto_name, //------------------------------------------------------------------------------- /* +----------------+---------+--------+--------------------------+----------------+ -| Driver | PHY_DEV | BRIDGE | VLAN_ID | OTHER | +| Driver | PHYDEV | BRIDGE | VLAN_ID | OTHER | +----------------+---------+--------+--------------------------+----------------+ | vcenter | no | yes | no | VCENTER_NET_REF| | dummy | no | yes | no | | @@ -176,7 +176,7 @@ int VirtualNetwork::parse_phydev_vlans(string& estr) if ( check_phydev && phydev.empty()) { - estr = "PHY_DEV is mandatory for driver " + vn_mad; + estr = "PHYDEV is mandatory for driver " + vn_mad; return -1; }