summaryrefslogtreecommitdiffstats
path: root/lib/zclient.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-11-14 15:13:39 +0100
committerGitHub <noreply@github.com>2022-11-14 15:13:39 +0100
commit84f784fafa34b4fe4021d9a17fbffe5bc2fff32e (patch)
tree4d893c0f1c3765ab3b082dc45c44c36ef3e7f402 /lib/zclient.c
parentMerge pull request #12234 from opensourcerouting/fix/bgp_regex_pcre (diff)
parentdoc: Add documentation for behavior usid command (diff)
downloadfrr-84f784fafa34b4fe4021d9a17fbffe5bc2fff32e.tar.xz
frr-84f784fafa34b4fe4021d9a17fbffe5bc2fff32e.zip
Merge pull request #12219 from cscarpitta/feature/srv6-usid-behavior-support
bgpd, zebra: Add support for SRv6 uSID Behaviors
Diffstat (limited to 'lib/zclient.c')
-rw-r--r--lib/zclient.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/zclient.c b/lib/zclient.c
index 2517773dc..fd6eb7db0 100644
--- a/lib/zclient.c
+++ b/lib/zclient.c
@@ -1088,6 +1088,7 @@ int zapi_srv6_locator_chunk_encode(struct stream *s,
stream_putc(s, c->node_bits_length);
stream_putc(s, c->function_bits_length);
stream_putc(s, c->argument_bits_length);
+ stream_putc(s, c->flags);
return 0;
}
@@ -1109,6 +1110,7 @@ int zapi_srv6_locator_chunk_decode(struct stream *s,
STREAM_GETC(s, c->node_bits_length);
STREAM_GETC(s, c->function_bits_length);
STREAM_GETC(s, c->argument_bits_length);
+ STREAM_GETC(s, c->flags);
return 0;
stream_failure: