VirtualBox

Changeset 58898 in vbox


Ignore:
Timestamp:
Nov 27, 2015 11:06:52 AM (9 years ago)
Author:
vboxsync
Message:

TestExecService/TCP: Fix option handling, don't return VERR_TRY_AGAIN for successfully handled options or the service will fail

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/utils/TestExecServ/TestExecServiceTcp.cpp

    r58171 r58898  
    726726            else
    727727                return RTMsgErrorRc(VERR_INVALID_PARAMETER, "Invalid TCP mode: '%s'\n", pVal->psz);
    728             break;
     728            return VINF_SUCCESS;
    729729
    730730        case TXSTCPOPT_BIND_ADDRESS:
     
    736736        case TXSTCPOPT_BIND_PORT:
    737737            g_uTcpBindPort = pVal->u16 == 0 ? TXS_TCP_DEF_BIND_PORT : pVal->u16;
    738             break;
     738            return VINF_SUCCESS;
    739739
    740740        case TXSTCPOPT_LEGACY_CONNECT:
     
    751751        case TXSTCPOPT_CONNECT_PORT:
    752752            g_uTcpConnectPort = pVal->u16 == 0 ? TXS_TCP_DEF_CONNECT_PORT : pVal->u16;
    753             break;
     753            return VINF_SUCCESS;
    754754
    755755        case TXSTCPOPT_LEGACY_PORT:
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