diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2017-08-27 22:18:32 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2017-08-29 08:36:03 +0200 |
commit | 2b79110731dc86fedb9c38f88b228813f7320770 (patch) | |
tree | 043985d248effc9737e400cfc96580ead7009175 /bgpd/bgp_evpn_vty.h | |
parent | *: remove empty "interface XYZ" config blocks (diff) | |
download | frr-2b79110731dc86fedb9c38f88b228813f7320770.tar.xz frr-2b79110731dc86fedb9c38f88b228813f7320770.zip |
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>
Diffstat (limited to 'bgpd/bgp_evpn_vty.h')
-rw-r--r-- | bgpd/bgp_evpn_vty.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_evpn_vty.h b/bgpd/bgp_evpn_vty.h index 3bc24593f..4d07f7d03 100644 --- a/bgpd/bgp_evpn_vty.h +++ b/bgpd/bgp_evpn_vty.h @@ -22,7 +22,7 @@ #define _FRR_BGP_EVPN_VTY_H extern void bgp_config_write_evpn_info(struct vty *vty, struct bgp *bgp, - afi_t afi, safi_t safi, int *write); + afi_t afi, safi_t safi); extern void bgp_ethernetvpn_init(void); #define L2VPN_HELP_STR "Layer 2 Virtual Private Network\n" |