]> git.proxmox.com Git - mirror_frr.git/commit - ospfd/ospf_opaque.h
OSPF OPAQUE, TE and RI macro refactoring & cleanup
authorOlivier Dugeon <olivier.dugeon@orange.com>
Thu, 20 Jul 2017 17:57:43 +0000 (19:57 +0200)
committerOlivier Dugeon <olivier.dugeon@orange.com>
Thu, 20 Jul 2017 17:57:43 +0000 (19:57 +0200)
commitead99d5f26abef2490c1ee89a0126bfd15181182
tree34c4f7918243085317002076699ee14f16ee8e46
parent95b06c0aa5cf0dece94b04cc81b1f4beb1c46baa
OSPF OPAQUE, TE and RI macro refactoring & cleanup

 * TLV macros where define itwice in ospf_te.h and in ospf_ri.h
 * Merge both definition in ospf_opaque.h and adjust accordingly RI and TE
 * Same for typedef status_t which is move in ospfd.h
 * Remove also all 'goto' statement in ospf_te.c and ospf_ri.c
 * Remove strange function lookup_oi_by_ifp() in ospf_te.c and replace it
by a valid code in initialize_linkparams() function

Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
ospfd/ospf_opaque.h
ospfd/ospf_ri.c
ospfd/ospf_ri.h
ospfd/ospf_te.c
ospfd/ospf_te.h
ospfd/ospfd.h