diff options
| author | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2022-10-27 18:58:39 +0200 | 
|---|---|---|
| committer | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2022-10-29 02:07:01 +0200 | 
| commit | d537287a48a88c1f4ba6c5df59fc701ae3045723 (patch) | |
| tree | b08abe01573c338a7fe68a8a31afbd13285ff2e5 /zebra/zapi_msg.c | |
| parent | 02b1544a5c181b8ed24aa084982da1f986325927 (diff) | |
lib,zebra: Send SRv6 locator flags over the ZAPI
In this commit, we extend the ZAPI to support encoding and decoding the
locator flags contained in the messages exchanged between zebra and the
routing daemons.
Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
Diffstat (limited to 'zebra/zapi_msg.c')
| -rw-r--r-- | zebra/zapi_msg.c | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c index 761ba789b8..583f1b7d54 100644 --- a/zebra/zapi_msg.c +++ b/zebra/zapi_msg.c @@ -2709,6 +2709,7 @@ int zsend_srv6_manager_get_locator_chunk_response(struct zserv *client,  	chunk.keep = 0;  	chunk.proto = client->proto;  	chunk.instance = client->instance; +	chunk.flags = loc->flags;  	zclient_create_header(s, ZEBRA_SRV6_MANAGER_GET_LOCATOR_CHUNK, vrf_id);  	zapi_srv6_locator_chunk_encode(s, &chunk);  | 
