summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_te.c
diff options
context:
space:
mode:
authorOlivier Dugeon <olivier.dugeon@orange.com>2017-07-21 16:34:33 +0200
committerOlivier Dugeon <olivier.dugeon@orange.com>2017-07-21 16:34:33 +0200
commit2a39170c6bd4dddf803a8c4c241e8ab072d78cca (patch)
treedbaa7efdc0b4306200155fcdd00e93169c9644e5 /ospfd/ospf_te.c
parentOSPF OPAQUE, TE and RI macro refactoring & cleanup (diff)
downloadfrr-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_te.c')
-rw-r--r--ospfd/ospf_te.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ospfd/ospf_te.c b/ospfd/ospf_te.c
index 66de46c5c..a982350e6 100644
--- a/ospfd/ospf_te.c
+++ b/ospfd/ospf_te.c
@@ -229,8 +229,8 @@ static struct mpls_te_link *lookup_linkparams_by_instance(struct ospf_lsa *lsa)
}
static void ospf_mpls_te_foreach_area(void (*func)(struct mpls_te_link *lp,
- opcode_t sched_opcode),
- opcode_t sched_opcode)
+ enum lsa_opcode sched_opcode),
+ enum lsa_opcode sched_opcode)
{
struct listnode *node, *nnode;
struct listnode *node2;
@@ -1509,7 +1509,7 @@ static struct ospf_lsa *ospf_mpls_te_lsa_refresh(struct ospf_lsa *lsa)
return new;
}
-void ospf_mpls_te_lsa_schedule(struct mpls_te_link *lp, opcode_t opcode)
+void ospf_mpls_te_lsa_schedule(struct mpls_te_link *lp, enum lsa_opcode opcode)
{
struct ospf_lsa lsa;
struct lsa_header lsah;