diff options
author | Donald Sharp <sharpd@nvidia.com> | 2021-08-16 16:59:20 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2021-08-16 17:04:06 +0200 |
commit | 9a65115329b6bb77ef08f8be72f114a210c3daec (patch) | |
tree | fa9791fb2d3280d8d0f20079252f718f49c47740 /bgpd/bgp_rpki.c | |
parent | bgpd: Continue processing rpki nodes (diff) | |
download | frr-9a65115329b6bb77ef08f8be72f114a210c3daec.tar.xz frr-9a65115329b6bb77ef08f8be72f114a210c3daec.zip |
bgpd: Add code to output expire and retry interval for rpki
The code to output during a `show run` is missing for both
the expire_interval and the retry_interval in rpki.
Let's add it in so the end user can see what they
are set to if not set to the default.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to '')
-rw-r--r-- | bgpd/bgp_rpki.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bgpd/bgp_rpki.c b/bgpd/bgp_rpki.c index 04ff8ac7c..286612da1 100644 --- a/bgpd/bgp_rpki.c +++ b/bgpd/bgp_rpki.c @@ -897,6 +897,12 @@ 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 (retry_interval != RETRY_INTERVAL_DEFAULT) + vty_out(vty, " rpki retry_interval %d\n", retry_interval); + if (expire_interval != EXPIRE_INTERVAL_DEFAULT) + vty_out(vty, " rpki expire_interval %d\n", expire_interval); + for (ALL_LIST_ELEMENTS_RO(cache_list, cache_node, cache)) { switch (cache->type) { struct tr_tcp_config *tcp_config; |