]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Use uint32_t for size value instead of int in ecommunity struct
authorDonald Sharp <sharpd@nvidia.com>
Sun, 17 Jan 2021 21:08:03 +0000 (16:08 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 18 Jan 2021 14:06:49 +0000 (09:06 -0500)
commitf6e07e1bdf6c5d4dfbc4f8b5e9a42efe71c67243
treecab7ee7c9c704058c3e65e713c42b4de6b069591
parent3a15018892e7d708023d3315474570a29969d080
bgpd: Use uint32_t for size value instead of int in ecommunity struct

The `struct ecommunity` structure is using an int for a size value.
Let's switch it over to a uint32_t for size values since a size
value for data can never be negative.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgp_attr.c
bgpd/bgp_attr_evpn.c
bgpd/bgp_ecommunity.c
bgpd/bgp_ecommunity.h
bgpd/bgp_evpn.c
bgpd/bgp_mplsvpn.c
bgpd/bgp_pbr.c
bgpd/rfapi/rfapi_import.c
bgpd/rfapi/vnc_export_bgp.c