[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #28828] ip_addr.h some macro error
From: |
hanhui |
Subject: |
[lwip-devel] [bug #28828] ip_addr.h some macro error |
Date: |
Sat, 06 Feb 2010 15:13:11 +0000 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322; MEGAUPLOAD 2.0) |
URL:
<http://savannah.nongnu.org/bugs/?28828>
Summary: ip_addr.h some macro error
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: hanhui03
Submitted on: Sat Feb 6 15:13:10 2010
Category: IPv4
Severity: 3 - Normal
Item Group: Faulty Behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release:
lwIP version: CVS Head
_______________________________________________________
Details:
macro ip_addr_set_zero and ip_addr_set_loopback should be:
#define ip_addr_set_zero(ipaddr) \
(ipaddr)->addr = htonl(IPADDR_ANY)
#define ip_addr_set_loopback(ipaddr) \
((ipaddr)->addr = htonl(IPADDR_LOOPBACK))
in function dns_gethostbyname(in dns.c), if hostname is "localhost", the
result is error!
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?28828>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #28828] ip_addr.h some macro error,
hanhui <=