]> git.puffer.fish Git - mirror/frr.git/commit
zebra: display static blackhole routes consistently
authorRenato Westphal <renato@opensourcerouting.org>
Fri, 1 Sep 2017 17:43:24 +0000 (14:43 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Tue, 5 Sep 2017 14:50:34 +0000 (11:50 -0300)
commit9aabb2ea7421e1bcdd010f474d9b74d8f447b3bb
tree62c91f640379c39a335c22fbec19eeceb66d45e3
parenteb1e453f9a4ff7c1c805b2f5ea90df328b027e39
zebra: display static blackhole routes consistently

If we configure a static route pointing to null0 and zebra displays
it with the 'blackhole' keyword in the running configuration, the
frr-reload.py script will have issues. Fix this by introducing the
'static_blackhole_type' enum.

Fixes #1091.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
zebra/zebra_static.c
zebra/zebra_static.h
zebra/zebra_vty.c