diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2023-04-14 17:17:27 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2024-05-08 21:21:30 +0200 |
commit | b564c1d890aef75067db22df09e608faf72b99f5 (patch) | |
tree | d7857a618a3839840f9c3f01e903f81828368cfd /yang | |
parent | Merge pull request #15885 from opensourcerouting/gcc-unrecognized-ms-anon-tag (diff) | |
download | frr-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')
-rw-r--r-- | yang/frr-pim.yang | 4 |
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"; |