VirtualBox

Changeset 49649 in vbox for trunk/src/VBox/NetworkServices


Ignore:
Timestamp:
Nov 25, 2013 11:50:53 PM (11 years ago)
Author:
vboxsync
Message:

Set sin6_port through correct union member.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/NAT/pxping.c

    r49648 r49649  
    674674            pcb->peer.sin6.sin6_len = sizeof(pcb->peer.sin6);
    675675#endif
    676             pcb->peer.sin.sin_port = htons(IPPROTO_ICMPV6);
     676            pcb->peer.sin6.sin6_port = htons(IPPROTO_ICMPV6);
    677677            mapped = pxremap_outbound_ip6((ip6_addr_t *)&pcb->peer.sin6.sin6_addr,
    678678                                          ipX_2_ip6(&pcb->dst));
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