mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-09 09:47:11 +00:00
bgpd: don't show default value in configuration
Don't show the configuration line `rfp full-table-download off` by default as it is not the default value, instead only show `rfp full-table-download on` (the non-default value) when it is configured. This standardizes this knob to the FRR default behavior. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
This commit is contained in:
parent
8ba26ecda7
commit
d6efeaac3e
@ -255,8 +255,8 @@ static int rfp_cfg_write_cb(struct vty *vty, void *rfp_start_val)
|
||||
rfi->rfapi_config.holddown_factor);
|
||||
write++;
|
||||
}
|
||||
if (rfi->rfapi_config.download_type != RFAPI_RFP_DOWNLOAD_FULL) {
|
||||
vty_out(vty, " rfp full-table-download off\n");
|
||||
if (rfi->rfapi_config.download_type == RFAPI_RFP_DOWNLOAD_FULL) {
|
||||
vty_out(vty, " rfp full-table-download on\n");
|
||||
write++;
|
||||
}
|
||||
return write;
|
||||
|
Loading…
Reference in New Issue
Block a user