VirtualBox

Changeset 49131 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 16, 2013 12:03:12 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
89984
Message:

Main/NATNetworkImpl.cpp: update comment in NATNetwork::COMSETTER(Network)(IN_BSTR) and NATNetwork::COMSETTER(IPv6Prefix) (IN_BSTR) about ignoring new value if there're registered port-forwarding rules. in TODO part of the comment how to resolve the conflict with different internal representation (guest address should be offset from network id, insted direct address, albeit additional check against network bounds should be added then).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/NATNetworkImpl.cpp

    r49129 r49131  
    373373        return S_OK;
    374374       
    375     /* silently ignore network cidr update */
     375    /* silently ignore network cidr update for now.
     376     * todo: keep internally guest address of port forward rule
     377     * as offset from network id.
     378     */
    376379    if (m->mapName2PortForwardRule4.empty())
    377380    {
     
    445448        return S_OK;
    446449
    447     /* silently ignore network cidr update */
     450    /* silently ignore network IPv6 prefix update.
     451     * todo: see similar todo in NATNetwork::COMSETTER(Network)(IN_BSTR)
     452     */
    448453    if (m->mapName2PortForwardRule6.empty())
    449454    {
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