[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #29970] DHCP endian issues parsing option responses (w
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [bug #29970] DHCP endian issues parsing option responses (w/ patch) |
Date: |
Sat, 12 Jun 2010 18:57:02 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 |
Update of bug #29970 (project lwip):
Status: None => In Progress
Assigned to: None => goldsimon
Planned Release: => 1.4.0
_______________________________________________________
Follow-up Comment #1:
Sorry for needing so long to reply (I've been on holiday for some time..).
Reading your patch, wouldn't it be enough to change the last else case to:
+ value = ((u8_t*)value)[0];
I would have expected the other two cases being correct (as they use htonl).
This way, we could save an extra copy and prevent implement extra shifting
macros (as some processors might have special instructions for htonl that are
faster).
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?29970>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #29970] DHCP endian issues parsing option responses (w/ patch),
Simon Goldschmidt <=