From: gdt Date: Wed, 29 Dec 2004 20:12:59 +0000 (+0000) Subject: add XXX comment that perhaps we need to recover from short headers. X-Git-Tag: frr-2.0-rc1~3267 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=be21024692560b48a77e691fe31c16bb854376de;p=matthieu%2Ffrr.git add XXX comment that perhaps we need to recover from short headers. --- diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c index b4695f43d0..ea79ee79e1 100644 --- a/ospfd/ospf_packet.c +++ b/ospfd/ospf_packet.c @@ -2046,6 +2046,7 @@ ospf_recv_packet (int fd, struct interface **ifp) if (ret != sizeof (iph)) { zlog_warn ("ospf_recv_packet packet smaller than ip header"); + /* XXX: We peeked, and thus perhaps should discard this packet. */ return NULL; }