VirtualBox

Changeset 17608 in vbox


Ignore:
Timestamp:
Mar 10, 2009 9:52:53 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
44083
Message:

network adapter XML schema HostInterface -> BridgedInterface

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/NetworkAdapterImpl.cpp

    r17387 r17608  
    914914    }
    915915    else
    916     if (!(attachmentNode = aAdapterNode.findKey ("HostInterface")).isNull())
     916    if (!(attachmentNode = aAdapterNode.findKey ("HostInterface")).isNull() /* backwards compatibility */
     917            || !(attachmentNode = aAdapterNode.findKey ("BridgedInterface")).isNull())
    917918    {
    918919        /* Host Interface Networking */
     
    10361037        case NetworkAttachmentType_Bridged:
    10371038        {
    1038             Key attachmentNode = aAdapterNode.createKey ("HostInterface");
     1039            Key attachmentNode = aAdapterNode.createKey ("BridgedInterface");
    10391040            Assert (!mData->mHostInterface.isNull());
    10401041            attachmentNode.setValue <Bstr> ("name", mData->mHostInterface);
  • trunk/src/VBox/Main/xml/VirtualBox-settings-common.xsd

    r17359 r17608  
    609609      </xsd:complexType>
    610610    </xsd:element>
     611    <xsd:element name="BridgedInterface">
     612      <xsd:complexType>
     613        <xsd:attribute name="name" type="xsd:string" use="required"/>
     614      </xsd:complexType>
     615    </xsd:element>
    611616    <xsd:element name="InternalNetwork">
    612617      <xsd:complexType>
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette