]> git.proxmox.com Git - mirror_frr.git/commitdiff
OSPFd: Correct style 2nd round
authorOlivier Dugeon <olivier.dugeon@orange.com>
Thu, 22 Feb 2018 10:30:05 +0000 (11:30 +0100)
committerOlivier Dugeon <olivier.dugeon@orange.com>
Thu, 22 Feb 2018 10:30:05 +0000 (11:30 +0100)
Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
ospfd/ospf_opaque.c

index 4417f42b3caf14baf01aa0471f4d3d850f70814e..d3f41fe86a6a29179fa084faf38d8c899a9fae23 100644 (file)
@@ -614,21 +614,24 @@ static void free_opaque_info_owner(void *val)
        case OSPF_OPAQUE_LINK_LSA: {
                struct ospf_interface *oi =
                        (struct ospf_interface *)(oipt->owner);
+
                listnode_delete(oi->opaque_lsa_self, oipt);
                break;
        }
        case OSPF_OPAQUE_AREA_LSA: {
                struct ospf_area *area = (struct ospf_area *)(oipt->owner);
+
                listnode_delete(area->opaque_lsa_self, oipt);
                break;
        }
        case OSPF_OPAQUE_AS_LSA: {
                struct ospf *top = (struct ospf *)(oipt->owner);
+
                listnode_delete(top->opaque_lsa_self, oipt);
                break;
        }
        default:
-               zlog_warn("free_opaque_info_owner: Unexpected LSA-type(%u)",
+               zlog_warn("%s: Unexpected LSA-type(%u)", __func__,
                        oipt->lsa_type);
                break; /* This case may not exist. */
        }