Commit 4ea87ac987 for frr
commit 4ea87ac987737659960d82b128142b23d4fdbe60
Author: Robin Christ <r.christ@partimus.com>
Date: Thu Nov 19 00:23:32 2026 +0100
yang: restore the range of home-agent-lifetime
cd4c307389 ("yang: correct range in yang file") limited
home-agent-lifetime to 1..65520, the RFC 6275 range the CLI already
enforces. e4a24c8657 ("yang: Update bgp yang files for missing cli")
was based on an older tree and dropped it again, so mgmtd's YANG
interface accepted values the CLI rejects.
Signed-off-by: Robin Christ <r.christ@partimus.com>
diff --git a/yang/frr-zebra.yang b/yang/frr-zebra.yang
index d5e3e81552..e39f5fdcd2 100644
--- a/yang/frr-zebra.yang
+++ b/yang/frr-zebra.yang
@@ -2660,7 +2660,9 @@ module frr-zebra {
"RFC 6275: Mobility Support in IPv6";
}
leaf home-agent-lifetime {
- type uint16;
+ type uint16 {
+ range "1..65520";
+ }
description
"The value to be placed in the Home Agent Lifetime
field in the Router Advertisement messages sent by the