From de72680189f94be83fef4e401e78f1641a7bedcd Mon Sep 17 00:00:00 2001 From: Brett Gordon Date: Mon, 23 Jan 2017 10:02:59 -0500 Subject: [PATCH] netd: make uip send IP header too. --- Applications/netd/uip.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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(); -- 2.34.1