diff options
| author | Lou Berger <lberger@labn.net> | 2016-02-10 14:24:00 +0000 |
|---|---|---|
| committer | vivek <vivek@cumulusnetworks.com> | 2016-06-06 14:21:06 -0700 |
| commit | f5bb8cfa5bd7667616bc0de6dbabfa23355f05bf (patch) | |
| tree | 90f732b05f5c778aa8b3bc83002de26169b0dece | |
| parent | e978e1de98b4464f960f27ef3fda1c45769bfb0c (diff) | |
bgpd: Fix graceful restart capability minsize
* bgp_open.c: cap_minsize should be CAPABILITY_CODE_RESTART_LEN for RESTART
not 6.
(cherry picked from commit 7748fdc757a2181649dd4956f2767545673ef28d)
| -rw-r--r-- | bgpd/bgp_open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_open.c b/bgpd/bgp_open.c index 8da052129e..1444a5837b 100644 --- a/bgpd/bgp_open.c +++ b/bgpd/bgp_open.c @@ -702,7 +702,7 @@ static const size_t cap_minsizes[] = [CAPABILITY_CODE_MP] = CAPABILITY_CODE_MP_LEN, [CAPABILITY_CODE_REFRESH] = CAPABILITY_CODE_REFRESH_LEN, [CAPABILITY_CODE_ORF] = CAPABILITY_CODE_ORF_LEN, - [CAPABILITY_CODE_RESTART] = 6, + [CAPABILITY_CODE_RESTART] = CAPABILITY_CODE_RESTART_LEN, [CAPABILITY_CODE_AS4] = CAPABILITY_CODE_AS4_LEN, [CAPABILITY_CODE_ADDPATH] = CAPABILITY_CODE_ADDPATH_LEN, [CAPABILITY_CODE_DYNAMIC] = CAPABILITY_CODE_DYNAMIC_LEN, |
