VirtualBox

Ignore:
Timestamp:
Nov 5, 2021 3:49:45 PM (3 years ago)
Author:
vboxsync
Message:

Validation Kit/testdriver: Implemented oSessionWrapper::setNicLocalhostReachable(), which in turn uses the session object to configure localhost reachability [build fix]. ​bugref:9896

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/vboxwrappers.py

    r92242 r92243  
    16411641                # Other attachments will fail if 'LocalhostReachable' extra data override is present
    16421642                ## @todo r=andy Is this still needed, as we now have the API (see above) in place?
    1643                 sKey = 'VBoxInternal/Devices/%s/%d/LUN#0/Config/LocalhostReachable' % (sAdpName, iSlot);
     1643                sKey = 'VBoxInternal/Devices/%s/%d/LUN#0/Config/LocalhostReachable' % (sAdpName, iNic);
    16441644                reporter.log2('Disabling "LocalhostReachable" (NAT) for network adapter "%s" in slot %d (key: %s)' % \
    1645                               (sAdpName, iSlot, sKey));
     1645                              (sAdpName, iNic, sKey));
    16461646                self.setExtraData(sKey, '');
    16471647                return True;
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