VirtualBox

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


Ignore:
Timestamp:
Sep 9, 2009 10:57:24 AM (15 years ago)
Author:
vboxsync
Message:

NAT: typo

File:
1 edited

Legend:

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

    r22845 r22861  
    6060}
    6161
    62 static doanswer(struct libalias *la, union dnsmsg_header *hdr,char *qname, struct ip *pip, struct hostent *h)
     62static void doanswer(struct libalias *la, union dnsmsg_header *hdr,char *qname, struct ip *pip, struct hostent *h)
    6363{
    6464    int i;
     
    132132        for(i = 0; i < h->h_length && h->h_addr_list[i] != NULL; ++i)
    133133        {
    134             struct dnsmsg_answer *ans = answers;
     134            struct dnsmsg_answer *ans = (struct dnsmsg_answer *)answers;
    135135           
    136136            ans->name = htons(off);
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