summaryrefslogtreecommitdiffstats
path: root/yang/frr-pim.yang
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2023-04-14 17:17:27 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2024-05-08 21:21:30 +0200
commitb564c1d890aef75067db22df09e608faf72b99f5 (patch)
treed7857a618a3839840f9c3f01e903f81828368cfd /yang/frr-pim.yang
parentMerge pull request #15885 from opensourcerouting/gcc-unrecognized-ms-anon-tag (diff)
downloadfrr-b564c1d890aef75067db22df09e608faf72b99f5.tar.xz
frr-b564c1d890aef75067db22df09e608faf72b99f5.zip
pimd: fix dr-priority range
0 is a valid DR priority. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'yang/frr-pim.yang')
-rw-r--r--yang/frr-pim.yang4
1 files changed, 1 insertions, 3 deletions
diff --git a/yang/frr-pim.yang b/yang/frr-pim.yang
index e9b3f6750..732a38a9e 100644
--- a/yang/frr-pim.yang
+++ b/yang/frr-pim.yang
@@ -422,9 +422,7 @@ module frr-pim {
}
leaf dr-priority {
- type uint32 {
- range "1..max";
- }
+ type uint32;
default 1;
description
"DR (Designated Router) priority";