diff options
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; } |