diff options
author | Carmine Scarpitta <cscarpit@cisco.com> | 2024-11-17 08:24:18 +0100 |
---|---|---|
committer | Carmine Scarpitta <cscarpit@cisco.com> | 2024-11-17 08:24:18 +0100 |
commit | 0019ecff1b64781a86a528230b1c2ef04a70470b (patch) | |
tree | d8ce77870d80da548e71677e16c0b88917f632ff /sharpd/sharp_vty.c | |
parent | Merge pull request #17193 from opensourcerouting/frr-name-use (diff) | |
download | frr-0019ecff1b64781a86a528230b1c2ef04a70470b.tar.xz frr-0019ecff1b64781a86a528230b1c2ef04a70470b.zip |
sharpd: Use IPV6_MAX_BITLEN in `sharp install seg6local-routes`
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
Diffstat (limited to 'sharpd/sharp_vty.c')
-rw-r--r-- | sharpd/sharp_vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sharpd/sharp_vty.c b/sharpd/sharp_vty.c index c9211a152..f02468075 100644 --- a/sharpd/sharp_vty.c +++ b/sharpd/sharp_vty.c @@ -503,7 +503,7 @@ DEFPY (install_seg6local_routes, sg.r.opaque[0] = '\0'; sg.r.inst = 0; sg.r.orig_prefix.family = AF_INET6; - sg.r.orig_prefix.prefixlen = 128; + sg.r.orig_prefix.prefixlen = IPV6_MAX_BITLEN; sg.r.orig_prefix.u.prefix6 = start6; if (!vrf_name) |