From 934a4c5975814bc966107a7bca4d16d882aa39ea Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 7 Jun 2016 10:49:35 -0400 Subject: [PATCH] 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 --- bgpd/bgp_open.c | 4 ++++ 1 file changed, 4 insertions(+) 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, }; /** -- 2.39.5