Included patch #5938: changed raw_pcb.protocol from u16_t to u8_t since for IPv4 and IPv6, proto is only 8 bits wide. This affects the api, as there, the protocol was u16_t, too.

This commit is contained in:
goldsimon
2007-05-22 07:31:06 +00:00
parent 980af63b8d
commit 81ac03a28b
7 changed files with 18 additions and 11 deletions

View File

@@ -310,7 +310,7 @@ raw_remove(struct raw_pcb *pcb)
* @see raw_remove()
*/
struct raw_pcb *
raw_new(u16_t proto) {
raw_new(u8_t proto) {
struct raw_pcb *pcb;
LWIP_DEBUGF(RAW_DEBUG | LWIP_DBG_TRACE | 3, ("raw_new\n"));