[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #22108] DNS problem
From: |
Cui hengbin |
Subject: |
[lwip-devel] [bug #22108] DNS problem |
Date: |
Fri, 25 Jan 2008 08:35:21 +0000 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727) |
Follow-up Comment #3, bug #22108 (project lwip):
Sorry,I don't have tool to create patch;
- pEntry->ipaddr = (*((struct ip_addr*)(ans+1)));
+ pEntry->ipaddr = (*((struct ip_addr*)((pHostname)+sizeof(struct
dns_answer))));
should be as followed:
pHostname = pHostname + sizeof(struct dns_answer);
memcpy(&pEntry->ipaddr,pHostname,sizeof(struct ip_addr));
I forget it.
FYI.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?22108>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #22108] DNS problem, Cui hengbin, 2008/01/24
- [lwip-devel] [bug #22108] DNS problem, Frédéric Bernon, 2008/01/25
- [lwip-devel] [bug #22108] DNS problem, Frédéric Bernon, 2008/01/25
- [lwip-devel] [bug #22108] DNS problem,
Cui hengbin <=
- [lwip-devel] [bug #22108] DNS problem, Frédéric Bernon, 2008/01/25
- [lwip-devel] [bug #22108] DNS problem, Frédéric Bernon, 2008/01/25
- [lwip-devel] [bug #22108] DNS problem, Cui hengbin, 2008/01/25
- [lwip-devel] [bug #22108] DNS problem, Frédéric Bernon, 2008/01/25
- [lwip-devel] [bug #22108] DNS problem, Kieran Mansley, 2008/01/25
- [lwip-devel] [bug #22108] DNS problem, Frédéric Bernon, 2008/01/25