]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_evpn_vty.h
bgpd: get rid of afi_header_vty_out() & co.
authorDavid Lamparter <equinox@opensourcerouting.org>
Sun, 27 Aug 2017 20:18:32 +0000 (22:18 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 29 Aug 2017 06:36:03 +0000 (08:36 +0200)
commit2b79110731dc86fedb9c38f88b228813f7320770
tree043985d248effc9737e400cfc96580ead7009175
parenta8b828f3c3e55eacdfba77f31750ada20ed13390
bgpd: get rid of afi_header_vty_out() & co.

afi_header_vty_out() is easily replaced with vty_frame(), which means we
can drop a whole batch of "int *write" args as well as the entirety of
bgp_config_write_family_header().

=> AFI/SAFI config writing is now a lot simpler.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
bgpd/bgp_evpn_vty.c
bgpd/bgp_evpn_vty.h
bgpd/bgp_route.c
bgpd/bgp_route.h
bgpd/bgp_vty.c
bgpd/bgp_vty.h
bgpd/bgp_zebra.h
bgpd/bgpd.c
bgpd/bgpd.h