commit | be21024692560b48a77e691fe31c16bb854376de | [log] [tgz] |
---|---|---|
author | gdt <gdt> | Wed Dec 29 20:12:59 2004 +0000 |
committer | gdt <gdt> | Wed Dec 29 20:12:59 2004 +0000 |
tree | e94897471606e1f0fc4e0778959ce7c1186d78f0 | |
parent | b30c5e67a20b1a092faa56fe349171eb1da386b0 [diff] |
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 b4695f4..ea79ee7 100644 --- a/ospfd/ospf_packet.c +++ b/ospfd/ospf_packet.c
@@ -2046,6 +2046,7 @@ 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; }