From: Donald Sharp Date: Tue, 7 Jun 2016 14:49:35 +0000 (-0400) Subject: bgpd: Fix Missing capability codes in data structure X-Git-Tag: frr-2.0-rc1~589 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=934a4c5975814bc966107a7bca4d16d882aa39ea;p=matthieu%2Ffrr.git bgpd: Fix Missing capability codes in data structure Forward port of a fix from upstream introduced the need to have data on the new capability codes that have been introduced. This commit adds in the missing capabilities. Signed-off-by: Donald Sharp Reviewed-by: Daniel Walton --- diff --git a/bgpd/bgp_open.c b/bgpd/bgp_open.c index 8be906d399..54ca5efede 100644 --- a/bgpd/bgp_open.c +++ b/bgpd/bgp_open.c @@ -725,9 +725,13 @@ static const size_t cap_modsizes[] = [CAPABILITY_CODE_ORF] = 1, [CAPABILITY_CODE_RESTART] = 1, [CAPABILITY_CODE_AS4] = 4, + [CAPABILITY_CODE_ADDPATH] = 4, [CAPABILITY_CODE_DYNAMIC] = 1, + [CAPABILITY_CODE_DYNAMIC_OLD] = 1, + [CAPABILITY_CODE_ENHE] = 6, [CAPABILITY_CODE_REFRESH_OLD] = 1, [CAPABILITY_CODE_ORF_OLD] = 1, + [CAPABILITY_CODE_FQDN] = 1, }; /**