VirtualBox

Changeset 23061 in vbox for trunk/src


Ignore:
Timestamp:
Sep 16, 2009 11:57:32 AM (15 years ago)
Author:
vboxsync
Message:

forward ported r52387 (fixes host interface parsing problem)

File:
1 edited

Legend:

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

    r22866 r23061  
    415415STDMETHODIMP NetworkAdapter::COMSETTER(HostInterface)(IN_BSTR aHostInterface)
    416416{
    417     /** @todo Validate input string length. r=dmik: do it in XML schema?*/
    418 
    419     /* we don't allow null strings for the host interface (because the @name
    420      * attribute of <HostInterface> must be always present but can be empty). */
    421     CheckComArgNotNull (aHostInterface);
     417    Bstr bstrEmpty("");
     418    if (!aHostInterface)
     419        aHostInterface = bstrEmpty;
    422420
    423421    AutoCaller autoCaller(this);
Note: See TracChangeset for help on using the changeset viewer.

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