VirtualBox

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


Ignore:
Timestamp:
Dec 10, 2008 8:15:49 AM (16 years ago)
Author:
vboxsync
Message:

slirp:icmp: udp stored bind parameters to slirp socket structure

File:
1 edited

Legend:

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

    r15229 r15231  
    357357      setsockopt(so->s, SOL_SOCKET, SO_BROADCAST, (const char *)&opt, sizeof(opt));
    358358      insque(pData, so,&udb);
     359#ifdef VBOX_WITH_SLIRP_ICMP
     360      so->so_hlport = addr.sin_port;
     361      so->so_hladdr.s_addr = addr.sin_addr.s_addr;
     362#endif
    359363    }
    360364  }
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