diff options
author | Olivier Dugeon <olivier.dugeon@orange.com> | 2017-07-21 16:34:33 +0200 |
---|---|---|
committer | Olivier Dugeon <olivier.dugeon@orange.com> | 2017-07-21 16:34:33 +0200 |
commit | 2a39170c6bd4dddf803a8c4c241e8ab072d78cca (patch) | |
tree | dbaa7efdc0b4306200155fcdd00e93169c9644e5 /ospfd/ospf_ri.c | |
parent | OSPF OPAQUE, TE and RI macro refactoring & cleanup (diff) | |
download | frr-2a39170c6bd4dddf803a8c4c241e8ab072d78cca.tar.xz frr-2a39170c6bd4dddf803a8c4c241e8ab072d78cca.zip |
Correct indentation and remove _opcode_t typedef
* Correct struct tlh_header indentation in opaque.h
* Change typedef enum _opcode_t by enum lsa_opcode
* Propagate change in ospf_te.[c,h) and ospf_ri.c
Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
Diffstat (limited to 'ospfd/ospf_ri.c')
-rw-r--r-- | ospfd/ospf_ri.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospf_ri.c b/ospfd/ospf_ri.c index 2136f2eb6..e192a39e4 100644 --- a/ospfd/ospf_ri.c +++ b/ospfd/ospf_ri.c @@ -111,7 +111,7 @@ static void ospf_router_info_config_write_router(struct vty *vty); static void ospf_router_info_show_info(struct vty *vty, struct ospf_lsa *lsa); static int ospf_router_info_lsa_originate(void *arg); static struct ospf_lsa *ospf_router_info_lsa_refresh(struct ospf_lsa *lsa); -static void ospf_router_info_lsa_schedule(opcode_t opcode); +static void ospf_router_info_lsa_schedule(enum lsa_opcode opcode); static void ospf_router_info_register_vty(void); static void del_pce_info(void *val); @@ -778,7 +778,7 @@ static struct ospf_lsa *ospf_router_info_lsa_refresh(struct ospf_lsa *lsa) return new; } -static void ospf_router_info_lsa_schedule(opcode_t opcode) +static void ospf_router_info_lsa_schedule(enum lsa_opcode opcode) { struct ospf_lsa lsa; struct lsa_header lsah; |