VirtualBox

Ignore:
Timestamp:
Mar 12, 2009 9:04:08 AM (16 years ago)
Author:
vboxsync
Message:

#3569: IPv6 static ip config for unix platforms + 'remove' option in helper.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/generic/NetIf-generic.cpp

    r17711 r17722  
    8787int NetIfEnableStaticIpConfigV6(VirtualBox *vBox, HostNetworkInterface * pIf, IN_BSTR aIPV6Address, ULONG aIPV6MaskPrefixLength)
    8888{
    89     return VERR_NOT_IMPLEMENTED;
     89    char szAddress[5*8 + 1 + 5 + 1];
     90    RTStrPrintf(szAddress, sizeof(szAddress), "%ls/%d",
     91                aIPV6Address, aIPV6MaskPrefixLength);
     92    return NetIfAdpCtl(pIf, szAddress, NULL);
    9093}
    9194
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