VirtualBox

Changeset 19722 in vbox


Ignore:
Timestamp:
May 15, 2009 9:19:34 AM (16 years ago)
Author:
vboxsync
Message:

NAT: move Assert where it really need

File:
1 edited

Legend:

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

    r19313 r19722  
    291291        so = inso;
    292292        Log4(("NAT: tcp_input: %R[natsock]\n", so));
    293         Assert(so->so_m);
    294293        /* Re-set a few variables */
    295294        tp = sototcpcb(so);
     
    297296#ifdef VBOX_WITH_NAT_SERVICE
    298297        {
     298            Assert(m);
    299299            struct ethhdr *eh = (struct ethhdr *)m->m_dat;
    300300            memcpy(so->so_ethaddr, eh->h_source, ETH_ALEN);
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