summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_te.h
diff options
context:
space:
mode:
authorOlivier Dugeon <olivier.dugeon@orange.com>2017-07-27 16:09:00 +0200
committerOlivier Dugeon <olivier.dugeon@orange.com>2017-07-27 16:09:00 +0200
commit32ab5cf4af84bc2acb4cf9fe48940397cd834797 (patch)
treefb03fba6f3a5fa7ea6b5c83f970af29f48acf942 /ospfd/ospf_te.h
parentCorrect indentation and remove _opcode_t typedef (diff)
downloadfrr-32ab5cf4af84bc2acb4cf9fe48940397cd834797.tar.xz
frr-32ab5cf4af84bc2acb4cf9fe48940397cd834797.zip
Update PR #839 following review
* Remove enum status_t opcode in ospfd.h * Replace enum status_t opcode by bool enabled in ospf_te.[c,h] and ospf_ri.c * Add missign parenthesis '()' around 'if CHECK_FLAG' in ospf_te.c and ospf_ri.c Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
Diffstat (limited to 'ospfd/ospf_te.h')
-rw-r--r--ospfd/ospf_te.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_te.h b/ospfd/ospf_te.h
index e3a6114b4..013421451 100644
--- a/ospfd/ospf_te.h
+++ b/ospfd/ospf_te.h
@@ -337,7 +337,7 @@ struct te_link_subtlv {
/* Following structure are internal use only. */
struct ospf_mpls_te {
/* Status of MPLS-TE: enable or disbale */
- status_t status;
+ bool enabled;
/* RFC5392 */
enum inter_as_mode inter_as;