From: Carmine Scarpitta Date: Thu, 20 Feb 2025 10:42:21 +0000 (+0100) Subject: staticd: Send SRv6 encapsulation to zebra X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=4679eb0066eb629a845291ae166917bcda506f64;p=mirror%2Ffrr.git staticd: Send SRv6 encapsulation to zebra This commit updates staticd to include the encapsulation behavior in the ZAPI message sent to Zebra for installing the SRv6 route. Signed-off-by: Carmine Scarpitta --- diff --git a/staticd/static_zebra.c b/staticd/static_zebra.c index cc09b42836..706635335f 100644 --- a/staticd/static_zebra.c +++ b/staticd/static_zebra.c @@ -534,6 +534,8 @@ extern void static_zebra_route_add(struct static_path *pn, bool install) memcpy(&api_nh->seg6_segs[i], &nh->snh_seg.seg[i], sizeof(struct in6_addr)); + + api_nh->srv6_encap_behavior = nh->snh_seg.encap_behavior; } nh_num++; }