VirtualBox

忽略:
時間撮記:
2014-10-2 下午04:43:35 (10 年 以前)
作者:
vboxsync
訊息:

VBoxNetPortForwardString.cpp: fixed braces to properly differ between 'tcp' and 'udp' when parsing NAT port forwarding rules

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/NetworkServices/NetLib/VBoxNetPortForwardString.cpp

    r50459 r52938  
    282282    cbRaw--;
    283283
    284     if (     ((    fTcpProto = (RTStrNICmp(pszRaw, "tcp", 3) == 0)
    285               ||  (RTStrNICmp(pszRaw, "udp", 3) == 0))
    286           && (pszRaw[3] == PF_FIELD_SEPARATOR)))
     284    if (  (  (fTcpProto = (RTStrNICmp(pszRaw, "tcp", 3) == 0))
     285           ||              RTStrNICmp(pszRaw, "udp", 3) == 0)
     286        && pszRaw[3] == PF_FIELD_SEPARATOR)
    287287    {
    288288        proto = (fTcpProto ? IPPROTO_TCP : IPPROTO_UDP);
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette