]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Disable mpls slightly different
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 25 Oct 2016 18:25:29 +0000 (14:25 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 25 Oct 2016 18:30:25 +0000 (14:30 -0400)
commitc58418c1107928a851aee28b98acae306b79c6e3
treea9240706dc26a352833bb0b461925b1f95d99c97
parent5697001a7b6860418ae2641a276238ba1dd76af6
zebra: Disable mpls slightly different

When mpls is not turned on in the kernel, we
are not installing the mpls commands into the cli.
This results in vtysh attempting to run the command
and receiving a 'WTF is this command' back from zebra.
Modify the mpls code to install commands and to check
to see if the command should be accepted based
upon mpls working or not.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
zebra/zebra_mpls_vty.c
zebra/zebra_vty.c