summaryrefslogtreecommitdiff
path: root/ospfd
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-10-17 09:01:30 +0300
committerGitHub <noreply@github.com>2024-10-17 09:01:30 +0300
commit5fecb1f425507eb216abbf0424d7430640469b55 (patch)
tree525b7e13c444dace0073b1e1df783354f16c5783 /ospfd
parent8d894e5df099e2d96a3e83304c9c4e02c43e9062 (diff)
parent774788d4c87f54b978650c34400d5727dcf40a63 (diff)
Merge pull request #17065 from Shbinging/fix_some_ospf_commands
ospfd: fix some ospf commands
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_vty.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c
index 34fd804ae8..01cbfedc1c 100644
--- a/ospfd/ospf_vty.c
+++ b/ospfd/ospf_vty.c
@@ -718,7 +718,7 @@ DEFUN (ospf_area_range_not_advertise,
DEFUN (no_ospf_area_range,
no_ospf_area_range_cmd,
- "no area <A.B.C.D|(0-4294967295)> range A.B.C.D/M [<cost (0-16777215)|advertise [cost (0-16777215)]|not-advertise>]",
+ "no area <A.B.C.D|(0-4294967295)> range A.B.C.D/M [<cost [(0-16777215)]|advertise [cost [(0-16777215)]]|not-advertise>]",
NO_STR
"OSPF area parameters\n"
"OSPF area ID in IP address format\n"
@@ -1355,12 +1355,13 @@ DEFUN (ospf_area_shortcut,
DEFUN (no_ospf_area_shortcut,
no_ospf_area_shortcut_cmd,
- "no area <A.B.C.D|(0-4294967295)> shortcut <enable|disable>",
+ "no area <A.B.C.D|(0-4294967295)> shortcut <default|enable|disable>",
NO_STR
"OSPF area parameters\n"
"OSPF area ID in IP address format\n"
"OSPF area ID as a decimal value\n"
"Deconfigure the area's shortcutting mode\n"
+ "Deconfigure default shortcutting through the area\n"
"Deconfigure enabled shortcutting through the area\n"
"Deconfigure disabled shortcutting through the area\n")
{