diff options
author | gdt <gdt> | 2004-12-29 20:12:59 +0000 |
---|---|---|
committer | gdt <gdt> | 2004-12-29 20:12:59 +0000 |
commit | be21024692560b48a77e691fe31c16bb854376de (patch) | |
tree | e94897471606e1f0fc4e0778959ce7c1186d78f0 /ospfd | |
parent | b30c5e67a20b1a092faa56fe349171eb1da386b0 (diff) |
add XXX comment that perhaps we need to recover from short headers.
Diffstat (limited to 'ospfd')
-rw-r--r-- | ospfd/ospf_packet.c | 1 |
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; } |