diff options
| author | Olivier Dugeon <olivier.dugeon@orange.com> | 2018-02-22 11:30:05 +0100 |
|---|---|---|
| committer | Olivier Dugeon <olivier.dugeon@orange.com> | 2018-02-22 11:30:05 +0100 |
| commit | 5cd72f4484065f13c39a237921bf77e917335ff8 (patch) | |
| tree | f1557bb4ce39b9aa6c533952863275aa782a0824 | |
| parent | 7ea462092c55abf27bb3fbb94e405f80a62e44ef (diff) | |
OSPFd: Correct style 2nd round
Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
| -rw-r--r-- | ospfd/ospf_opaque.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ospfd/ospf_opaque.c b/ospfd/ospf_opaque.c index 4417f42b3c..d3f41fe86a 100644 --- a/ospfd/ospf_opaque.c +++ b/ospfd/ospf_opaque.c @@ -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. */ } |
