summaryrefslogtreecommitdiff
path: root/bgpd
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <jafar@atcorp.com>2024-10-22 09:39:06 -0500
committerGitHub <noreply@github.com>2024-10-22 09:39:06 -0500
commit29ed8be6c00643f421b30b83305f979d9de3ed30 (patch)
tree991c176a00a9d91b39376e37b9410b6221d01e94 /bgpd
parent61754a1b7fc934e6bf059718e030500e2081eb06 (diff)
parent2ddc17af933350c471be694a806da5e47f8c2522 (diff)
Merge pull request #17177 from FRRouting/mergify/bp/stable/10.0/pr-17169
bgpd: allow value 0 in aigp-metric setting (backport #17169)
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/bgp_routemap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_routemap.c b/bgpd/bgp_routemap.c
index dd7e7b90a4..fe6faffa6e 100644
--- a/bgpd/bgp_routemap.c
+++ b/bgpd/bgp_routemap.c
@@ -7128,7 +7128,7 @@ DEFUN_YANG (no_set_atomic_aggregate,
DEFPY_YANG (set_aigp_metric,
set_aigp_metric_cmd,
- "set aigp-metric <igp-metric|(1-4294967295)>$aigp_metric",
+ "set aigp-metric <igp-metric|(0-4294967295)>$aigp_metric",
SET_STR
"BGP AIGP attribute (AIGP Metric TLV)\n"
"AIGP Metric value from IGP protocol\n"
@@ -7148,7 +7148,7 @@ DEFPY_YANG (set_aigp_metric,
DEFPY_YANG (no_set_aigp_metric,
no_set_aigp_metric_cmd,
- "no set aigp-metric [<igp-metric|(1-4294967295)>]",
+ "no set aigp-metric [<igp-metric|(0-4294967295)>]",
NO_STR
SET_STR
"BGP AIGP attribute (AIGP Metric TLV)\n"