summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_asbr.c
diff options
context:
space:
mode:
authoranlan_cs <vic.lan@pica8.com>2022-01-20 09:05:11 +0100
committeranlan_cs <vic.lan@pica8.com>2022-01-29 02:11:30 +0100
commit74e8311eb32eead06e48887b345285cc66362365 (patch)
tree3a2b1681eb4d790d74459cd8406f7319acc2ae9c /ospf6d/ospf6_asbr.c
parentospfd: fix missing "aggregation timer" in running configuration (diff)
downloadfrr-74e8311eb32eead06e48887b345285cc66362365.tar.xz
frr-74e8311eb32eead06e48887b345285cc66362365.zip
ospf6d: adjust type of "aggr_delay_interval"
Adjust type of "aggr_delay_interval": Just replace `unsigned int` with `uint16_t` for range is (50..1800). Signed-off-by: anlan_cs <vic.lan@pica8.com>
Diffstat (limited to 'ospf6d/ospf6_asbr.c')
-rw-r--r--ospf6d/ospf6_asbr.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/ospf6d/ospf6_asbr.c b/ospf6d/ospf6_asbr.c
index 5e7ba81a3..203ae14f2 100644
--- a/ospf6d/ospf6_asbr.c
+++ b/ospf6d/ospf6_asbr.c
@@ -3383,8 +3383,8 @@ ospf6_start_asbr_summary_delay_timer(struct ospf6 *ospf6,
}
if (IS_OSPF6_DEBUG_AGGR)
- zlog_debug("%s: Start Aggregator delay timer %d(in seconds).",
- __func__, ospf6->aggr_delay_interval);
+ zlog_debug("%s: Start Aggregator delay timer %u(in seconds).",
+ __func__, ospf6->aggr_delay_interval);
ospf6->aggr_action = operation;
thread_add_timer(master,
@@ -3421,8 +3421,7 @@ int ospf6_asbr_external_rt_advertise(struct ospf6 *ospf6,
return OSPF6_SUCCESS;
}
-int ospf6_external_aggr_delay_timer_set(struct ospf6 *ospf6,
- unsigned int interval)
+int ospf6_external_aggr_delay_timer_set(struct ospf6 *ospf6, uint16_t interval)
{
ospf6->aggr_delay_interval = interval;