summaryrefslogtreecommitdiff
path: root/ospfd
diff options
context:
space:
mode:
authorgdt <gdt>2004-12-29 20:12:59 +0000
committergdt <gdt>2004-12-29 20:12:59 +0000
commitbe21024692560b48a77e691fe31c16bb854376de (patch)
treee94897471606e1f0fc4e0778959ce7c1186d78f0 /ospfd
parentb30c5e67a20b1a092faa56fe349171eb1da386b0 (diff)
add XXX comment that perhaps we need to recover from short headers.
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_packet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c
index b4695f43..ea79ee79 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;
}