ospfd: tiny style fix

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
Quentin Young 2019-12-12 00:15:25 -05:00
parent 5405a012b4
commit e947b307fc

View File

@ -2318,8 +2318,7 @@ static struct stream *ospf_recv_packet(struct ospf *ospf, int fd,
safe_strerror(errno));
return NULL;
}
if ((unsigned int)ret < sizeof(struct ip))
{
if ((unsigned int)ret < sizeof(struct ip)) {
flog_warn(
EC_OSPF_PACKET,
"ospf_recv_packet: discarding runt packet of length %d "