mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 10:46:22 +00:00
bgpd: write variable is never used in cli function
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
13c01b7e27
commit
36f12ed703
@ -7530,7 +7530,6 @@ static void bgp_config_write_family(struct vty *vty, struct bgp *bgp, afi_t afi,
|
||||
|
||||
int bgp_config_write(struct vty *vty)
|
||||
{
|
||||
int write = 0;
|
||||
struct bgp *bgp;
|
||||
struct peer_group *group;
|
||||
struct peer *peer;
|
||||
@ -7541,9 +7540,6 @@ int bgp_config_write(struct vty *vty)
|
||||
vty_out(vty, "bgp route-map delay-timer %u\n",
|
||||
bm->rmap_update_timer);
|
||||
|
||||
if (write)
|
||||
vty_out(vty, "!\n");
|
||||
|
||||
/* BGP configuration. */
|
||||
for (ALL_LIST_ELEMENTS(bm->bgp, mnode, mnnode, bgp)) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user