Changeset 106612 in vbox
- Timestamp:
- Oct 23, 2024 9:24:04 AM (5 weeks ago)
- Location:
- trunk/src/libs/libslirp-4.8.0/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/libslirp-4.8.0/src/ip6_icmp.c
r106586 r106612 45 45 Slirp *slirp = m->slirp; 46 46 47 #ifdef VBOX 48 struct sockaddr_in6 addr = { 0 }; /* Must zero all fields not explictly initialized below or sendto fails on windows. */ 49 #else 47 50 struct sockaddr_in6 addr; 51 #endif 48 52 49 53 /* … … 95 99 addr.sin6_family = AF_INET6; 96 100 addr.sin6_addr = so->so_faddr6; 97 #ifdef VBOX98 addr.sin6_port = 0;99 addr.sin6_flowinfo = 0;100 addr.sin6_scope_id = 0;101 #endif102 101 103 102 slirp_insque(so, &so->slirp->icmp); -
trunk/src/libs/libslirp-4.8.0/src/udp6.c
r105533 r106612 19 19 int len; 20 20 struct socket *so; 21 #ifdef VBOX 22 struct sockaddr_in6 lhost = { 0 }; /* Initialize everything to zero, just to be on the safe side. */ 23 #else 21 24 struct sockaddr_in6 lhost; 25 #endif 22 26 int hop_limit; 23 27
Note:
See TracChangeset
for help on using the changeset viewer.