VirtualBox

Changeset 22597 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Aug 31, 2009 12:01:29 PM (15 years ago)
Author:
vboxsync
Message:

NAT: return back do per slirp_input check. Gratuitous ARP might

be not sent by guest's TCP/IP stack.

File:
1 edited

Legend:

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

    r22576 r22597  
    14521452    memcpy(m->m_data, pkt, pkt_len);
    14531453
    1454 #if 0
     1454#if 1
    14551455    if (pData->port_forwarding_activated == 0)
    14561456        activate_port_forwarding(pData, mtod(m, struct ethhdr *));
     
    15801580        guest_addr = find_guest_ip(pData, ethdr->h_source);
    15811581#else
     1582#if 0
    15821583        if (memcmp(client_ethaddr, ethdr->h_source, ETH_ALEN) != 0)
    15831584            continue;
     1585#endif
    15841586        guest_addr = find_guest_ip(pData, ethdr->h_source);
    15851587#endif
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