VirtualBox

Changeset 17609 in vbox for trunk/src/VBox/Main


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

network adapter XML schema HostOnlyNetwork -> HostOnlyInterface

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

Legend:

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

    r17608 r17609  
    942942    }
    943943    else
    944     if (!(attachmentNode = aAdapterNode.findKey ("HostOnlyNetwork")).isNull())
     944    if (!(attachmentNode = aAdapterNode.findKey ("HostOnlyNetwork")).isNull()
     945            || !(attachmentNode = aAdapterNode.findKey ("HostOnlyInterface")).isNull())
    945946    {
    946947#if defined(RT_OS_WINDOWS) && defined(VBOX_WITH_NETFLT)
     
    10511052        case NetworkAttachmentType_HostOnly:
    10521053        {
    1053             Key attachmentNode = aAdapterNode.createKey ("HostOnlyNetwork");
     1054            Key attachmentNode = aAdapterNode.createKey ("HostOnlyInterface");
    10541055#if defined(RT_OS_WINDOWS) && defined(VBOX_WITH_NETFLT)
    10551056            Assert (!mData->mHostInterface.isNull());
  • trunk/src/VBox/Main/xml/VirtualBox-settings-common.xsd

    r17608 r17609  
    624624      </xsd:complexType>
    625625    </xsd:element>
     626    <xsd:element name="HostOnlyInterface">
     627      <xsd:complexType>
     628        <xsd:attribute name="name" type="xsd:string" use="optional"/>
     629      </xsd:complexType>
     630    </xsd:element>
    626631  </xsd:choice>
    627632  <xsd:attribute name="type" type="TNetworkAdapterType" default="Am79C970A"/>
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