VirtualBox

Changeset 10847

Show
Ignore:
Timestamp:
07/24/08 00:05:46 (3 months ago)
Author:
vboxsync
Message:

intnet: removed autoactivation of the interface on open.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/VBox/Devices/Network/testcase/tstIntNetR0.cpp

    r10819 r10847  
    468468                        g_cErrors++; 
    469469                    } 
     470 
     471                    rc = INTNETR0IfSetActive(pIntNet, hIf0, g_pSession, true); 
     472                    if (VBOX_FAILURE(rc)) 
     473                    { 
     474                        RTPrintf("tstIntNetR0: INTNETR0IfSetActive failed! rc=%Rrc\n", rc); 
     475                        g_cErrors++; 
     476                    } 
     477                    rc = INTNETR0IfSetActive(pIntNet, hIf1, g_pSession, true); 
     478                    if (VBOX_FAILURE(rc)) 
     479                    { 
     480                        RTPrintf("tstIntNetR0: INTNETR0IfSetActive failed! rc=%Rrc\n", rc); 
     481                        g_cErrors++; 
     482                    } 
     483 
    470484 
    471485                    /* 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy