diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-06-21 18:49:10 +0300 | 
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-06-21 18:49:10 +0300 | 
| commit | 8f401cda58f6795bc6d7d968b210d984e4e1c0ed (patch) | |
| tree | 1b34b1f5ca17468f9ef881deaa88544d0c277039 | |
| parent | 77be6d6a2331767873480b108b43e574e367bf14 (diff) | |
bgpd: Do not show polling_period default value in CLI for RPKI
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
| -rw-r--r-- | bgpd/bgp_rpki.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_rpki.c b/bgpd/bgp_rpki.c index 5225934ec2..de1c559641 100644 --- a/bgpd/bgp_rpki.c +++ b/bgpd/bgp_rpki.c @@ -1006,8 +1006,9 @@ static int config_write(struct vty *vty)  	vty_out(vty, "!\n");  	vty_out(vty, "rpki\n"); -	vty_out(vty, " rpki polling_period %d\n", polling_period); +	if (polling_period != POLLING_PERIOD_DEFAULT) +		vty_out(vty, " rpki polling_period %d\n", polling_period);  	if (retry_interval != RETRY_INTERVAL_DEFAULT)  		vty_out(vty, " rpki retry_interval %d\n", retry_interval);  	if (expire_interval != EXPIRE_INTERVAL_DEFAULT)  | 
