VirtualBox

Changeset 19392 in vbox for trunk


Ignore:
Timestamp:
May 5, 2009 5:36:04 PM (16 years ago)
Author:
vboxsync
Message:

NAT: attempt to fix #3651

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/slirp.c

    r19313 r19392  
    16921692    Log2(("proto: %d, dport: %d sport: %d\n", proto, hdport, hsport));
    16931693    service = 0;
    1694 #if 0
     1694#if 1
    16951695    /* Always return 0 here */
    16961696    switch (hdport)
    16971697    {
    16981698        case 500:
    1699                 /* service = sport; */
     1699                if (hsport != 500) /* vpnc by default try operate in src:500/dst:500 mode*/
     1700                /* Not sure why this make Cisco VPN client's connection more stable,
     1701                 * at least on some servers
     1702                 */
     1703                    service = sport; 
    17001704        break;
    17011705    }
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