Merge pull request #3438 from opensourcerouting/bgp-rfapi-default-value

bgpd: don't show default value in configuration
This commit is contained in:
Donald Sharp 2018-12-06 19:32:07 -05:00 committed by GitHub
commit ac92680d8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;