diff options
author | Philippe Guibert <philippe.guibert@6wind.com> | 2019-10-16 08:42:30 +0200 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2020-08-21 13:37:08 +0200 |
commit | 9cec4121623c18eb5d826420e2078e2a78242362 (patch) | |
tree | 345c4ced2b1c8a527dc8dd11e7a2b2e0c2c71599 /bgpd/bgp_flowspec_vty.c | |
parent | bgpd: flowspec code support for ipv6 (diff) | |
download | frr-9cec4121623c18eb5d826420e2078e2a78242362.tar.xz frr-9cec4121623c18eb5d826420e2078e2a78242362.zip |
bgpd: ipv6 flowspec address decoding and validation
as per [0], ipv6 adress format introduces an ipv6 offset that needs to
be extracted too. The change include the validation, decoding for
further usage with policy-routing and decoding for dumping.
[0] https://tools.ietf.org/html/draft-ietf-idr-flow-spec-v6-09
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'bgpd/bgp_flowspec_vty.c')
-rw-r--r-- | bgpd/bgp_flowspec_vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_flowspec_vty.c b/bgpd/bgp_flowspec_vty.c index 5703d86be..d3e95b123 100644 --- a/bgpd/bgp_flowspec_vty.c +++ b/bgpd/bgp_flowspec_vty.c @@ -129,7 +129,7 @@ void bgp_fs_nlri_get_string(unsigned char *nlri_content, size_t len, nlri_content+offset, len - offset, local_string, &error, - afi); + afi, NULL); if (ret <= 0) break; if (json_path) { |