]> git.puffer.fish Git - matthieu/frr.git/commitdiff
yang: enlarge community-limit count from [1-1024] to [0-1024]
authorPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 14 Feb 2025 08:25:24 +0000 (09:25 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 27 Feb 2025 21:25:52 +0000 (22:25 +0100)
It should be possible to configure the community-limit count to 0.

Fixes: f19b8668b3cb ("bgpd: add 'match community-count' command to restrict comm count")
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
yang/frr-bgp-route-map.yang

index f1fa93664c75b7213de5250f8d2082809458f392..12b175a5ea5057212dacf87d955b510503a2bc9e 100644 (file)
@@ -820,7 +820,7 @@ identity set-extcommunity-color {
         "Match BGP updates when the list of communities count is less than the configured limit.";
       leaf community-limit {
         type uint16 {
-          range "1..1024";
+          range "0..1024";
         }
       }
     }