- Timestamp:
- Sep 9, 2009 8:21:37 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/libalias/alias_dns.c
r22880 r22881 169 169 struct udphdr *udp = NULL; 170 170 union dnsmsg_header *hdr = NULL; 171 udp = (struct udphdr *) ((char *)pip) + (pip->ip_hl << 2);172 hdr = (union dnsmsg_header *) &udp[1];171 udp = (struct udphdr *)ip_next(pip); 172 hdr = (union dnsmsg_header *)udp_next(udp); 173 173 174 174 if (hdr->X.qr == 1)
Note:
See TracChangeset
for help on using the changeset viewer.