VirtualBox

Changeset 25277 in vbox


Ignore:
Timestamp:
Dec 9, 2009 4:35:13 PM (15 years ago)
Author:
vboxsync
Message:

NAT: these two calls of activate_port_forwarding are now obsolete since this is done in slirp_input()

File:
1 edited

Legend:

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

    r25276 r25277  
    15261526                }
    15271527                slirp_arp_cache_add(pData, *(uint32_t *)ah->ar_tip, &eh->h_dest[0]);
    1528                 /* good opportunity to activate port-forwarding on address (self)asignment*/
    1529                 if (pData->cRedirectionsActive != pData->cRedirectionsStored)
    1530                     activate_port_forwarding(pData, eh->h_source);
    15311528            }
    15321529            break;
     
    15391536            }
    15401537            slirp_arp_cache_add(pData, *(uint32_t *)ah->ar_sip, ah->ar_sha);
    1541             /* after/save restore we need up port forwarding again */
    1542             if (pData->cRedirectionsActive != pData->cRedirectionsStored)
    1543                 activate_port_forwarding(pData, eh->h_source);
    15441538            m_free(pData, m);
    15451539            break;
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