summaryrefslogtreecommitdiff
path: root/zebra/zebra_mpls_openbsd.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2016-09-14 17:55:21 -0300
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-09-23 09:31:20 -0400
commit41675b4c5ed055e7a82e6d997ba38be512ebd335 (patch)
treecf7bb9515562d9e4ef3eb247eef5949988968f17 /zebra/zebra_mpls_openbsd.c
parent1c1cf002a1e1975993e36c42daec14657e2bdc38 (diff)
zebra: install MPLS CLI commands only if MPLS is enabled.
To keep things simple, zebra's code should be the same whether MPLS is enabled or not. Then, when MPLS is not enabled, we just disable all MPLS CLI commands. This way we don't need to add a lot of #ifdef cruft in zebra's core, improving code readability. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'zebra/zebra_mpls_openbsd.c')
0 files changed, 0 insertions, 0 deletions