]> git.proxmox.com Git - mirror_frr.git/commitdiff
ospfd: tiny style fix
authorQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 12 Dec 2019 05:15:25 +0000 (00:15 -0500)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 12 Dec 2019 06:03:18 +0000 (01:03 -0500)
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
ospfd/ospf_packet.c

index 2b1b29494a8271db1de440f4c62a49ecb08ac93e..95fb694925a3d1eb090bafb274563541d241257d 100644 (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 "