summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_top.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_top.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_top.c')
-rw-r--r--ospf6d/ospf6_top.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ospf6d/ospf6_top.c b/ospf6d/ospf6_top.c
index e2db77d44..5888c6075 100644
--- a/ospf6d/ospf6_top.c
+++ b/ospf6d/ospf6_top.c
@@ -1997,8 +1997,8 @@ ospf6_show_summary_address(struct vty *vty, struct ospf6 *ospf6,
if (!uj) {
ospf6_show_vrf_name(vty, ospf6, json_vrf);
- vty_out(vty, "aggregation delay interval :%d(in seconds)\n\n",
- ospf6->aggr_delay_interval);
+ vty_out(vty, "aggregation delay interval :%u(in seconds)\n\n",
+ ospf6->aggr_delay_interval);
vty_out(vty, "%s\n", header);
} else {
json_vrf = json_object_new_object();