Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ospfd: fix some ospf cmds' param range #15014

Merged
merged 2 commits into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/user/ospfd.rst
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ Graceful Restart
affects the restarting router.
By default 'strict-lsa-checking' is enabled"

.. clicmd:: graceful-restart helper supported-grace-time
.. clicmd:: graceful-restart helper supported-grace-time (10-1800)


Supports as HELPER for configured grace period.
Expand Down
6 changes: 3 additions & 3 deletions ospfd/ospf_vty.c
Original file line number Diff line number Diff line change
Expand Up @@ -8302,7 +8302,7 @@ DEFUN_HIDDEN (ospf_dead_interval,

DEFUN (ip_ospf_dead_interval_minimal,
ip_ospf_dead_interval_minimal_addr_cmd,
"ip ospf dead-interval minimal hello-multiplier (1-10) [A.B.C.D]",
"ip ospf dead-interval minimal hello-multiplier (2-20) [A.B.C.D]",
"IP Information\n"
"OSPF interface commands\n"
"Interval time after which a neighbor is declared down\n"
Expand All @@ -8323,7 +8323,7 @@ DEFUN (ip_ospf_dead_interval_minimal,

DEFUN (no_ip_ospf_dead_interval,
no_ip_ospf_dead_interval_cmd,
"no ip ospf dead-interval [<(1-65535)|minimal hello-multiplier (1-10)> [A.B.C.D]]",
"no ip ospf dead-interval [<(1-65535)|minimal hello-multiplier (2-20)> [A.B.C.D]]",
NO_STR
"IP Information\n"
"OSPF interface commands\n"
Expand Down Expand Up @@ -8390,7 +8390,7 @@ DEFUN (no_ip_ospf_dead_interval,

DEFUN_HIDDEN (no_ospf_dead_interval,
no_ospf_dead_interval_cmd,
"no ospf dead-interval [<(1-65535)|minimal hello-multiplier (1-10)> [A.B.C.D]]",
"no ospf dead-interval [<(1-65535)|minimal hello-multiplier (2-20)> [A.B.C.D]]",
NO_STR
"OSPF interface commands\n"
"Interval time after which a neighbor is declared down\n"
Expand Down
Loading