From: Alan Cox Date: Thu, 11 Feb 2016 20:00:06 +0000 (+0000) Subject: net_ip: note an oversight X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=74d510816c1d9880ce95934635849932715ebbdd;p=FUZIX.git net_ip: note an oversight --- diff --git a/Kernel/net_ip.c b/Kernel/net_ip.c index d89bec3c..f9ae6604 100644 --- a/Kernel/net_ip.c +++ b/Kernel/net_ip.c @@ -49,6 +49,11 @@ int ip_output(void *pbuf, uint16_t plen, void *dbuf, uint16_t dlen) careful to buffer the receive side while queueing output */ } +static int ip_outions(void) +{ + return 0; +} + void ip_rcv(void) { uint16_t len = pkt_left; @@ -70,7 +75,7 @@ void ip_rcv(void) if (ip_options()) return; /* No frags for now (memory limits on 8bit) */ - if (iph.frag_off) + if (iph.frag_off) /* FIXME: check MF and FO */ return; if (iph.daddr == 0xFFFFFFFF) pkt_type = PKT_BROADCAST;