From: Brett Gordon Date: Mon, 23 Jan 2017 15:02:59 +0000 (-0500) Subject: netd: make uip send IP header too. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=de72680189f94be83fef4e401e78f1641a7bedcd;p=FUZIX.git netd: make uip send IP header too. --- diff --git a/Applications/netd/uip.c b/Applications/netd/uip.c index 9fdc1cbd..d1e3913d 100644 --- a/Applications/netd/uip.c +++ b/Applications/netd/uip.c @@ -1299,10 +1299,9 @@ uip_process(uint8_t flag) /* RAW socket processing. */ #if UIP_RAW raw_found: - uip_len = uip_len - UIP_IPH_LEN; uip_conn = NULL; uip_flags = UIP_NEWDATA; - uip_sappdata = uip_appdata = &uip_buf[UIP_LLH_LEN + UIP_IPH_LEN]; + uip_sappdata = uip_appdata = &uip_buf[UIP_LLH_LEN]; uip_slen = 0; UIP_RAW_APPCALL();