Merge pull request #10466 from idryzhov/8.2-ospf-aggr-timer

[8.2] ospfd: fix missing "aggregation timer" in running configuration
This commit is contained in:
Donatas Abraitis 2022-02-01 21:26:11 +02:00 committed by GitHub
commit 80fe9b221d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12168,6 +12168,10 @@ static int config_write_ospf_external_aggregator(struct vty *vty,
{ {
struct route_node *rn; struct route_node *rn;
if (ospf->aggr_delay_interval != OSPF_EXTL_AGGR_DEFAULT_DELAY)
vty_out(vty, " aggregation timer %u\n",
ospf->aggr_delay_interval);
/* print 'summary-address A.B.C.D/M' */ /* print 'summary-address A.B.C.D/M' */
for (rn = route_top(ospf->rt_aggr_tbl); rn; rn = route_next(rn)) for (rn = route_top(ospf->rt_aggr_tbl); rn; rn = route_next(rn))
if (rn->info) { if (rn->info) {