[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #21664] PPP code is broken

From: Simon Goldschmidt
Subject: [lwip-devel] [bug #21664] PPP code is broken
Date: Fri, 30 Nov 2007 11:59:55 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv: Gecko/20071115 Firefox/

Follow-up Comment #4, bug #21664 (project lwip):

embed9527 wrote on lwip-users:
> 4、In the file vjbsdhdr.h, the struct in_addr in the file
> ip_addr.h(line 70-72) must to changed as:
> struct in_addr {
>   PACK_STRUCT_FIELD(u32_t s_addr);
> after change, the struct ip in file vjbsdhdr.h, the variable
> struct in_addr ip_src,ip_dst(line 39) can compiler successfully.

I think the error is in vjbsdhdr.h: The struct ip.ip_src and .ip_dst should
be of type struct ip_addr, not in_addr: struct in_addr is used for API only
and shouldn't need to be packed!

On the other hand this type (and struct tcphdr) is really not needed, since
lwIP defines them in ip.h and tcp.h already!

Seems like there are many duplicates in ppp...


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]