netd: minor changes to fuzix-conf
authorAlan Cox <alan@linux.intel.com>
Thu, 9 Nov 2017 23:08:15 +0000 (23:08 +0000)
committerAlan Cox <alan@linux.intel.com>
Thu, 9 Nov 2017 23:08:15 +0000 (23:08 +0000)
Applications/netd/fuzix-conf.h

index cf23c19..7c4444e 100644 (file)
@@ -37,10 +37,11 @@ typedef uint8_t uip_stats_t;
 /* gcc can do struct assignment, the others cannot */
 
 #ifndef __GNUC__
-#define uip_ipaddr_copy(dest,src)      memcpy((dest),(src), sizeof(*dest))
+#define uip_ipaddr_copy(dest,src)      memcpy((dest),(src), sizeof(uip_ipaddr_t))
 #define uip_ip4addr_copy(dest,src)     memcpy((dest),(src), sizeof(uip_ip4addr_t))
 #define uip_ip6addr_copy(dest,src)     memcpy((dest),(src), sizeof(uip_ip6addr_t))
 #endif
 
 extern void netd_appcall(void);
 extern void netd_udp_appcall(void);
+extern void netd_raw_appcall(void);