No need for a decoder here.
The Capability Length field of this capability is zero.
Update the output of a test accordingly.
Signed-off-by: Donatas Abraitis <[email protected]>
#define BGP_CAPCODE_DYN_CAP 67 /* draft-ietf-idr-dynamic-cap */
#define BGP_CAPCODE_MULTISESS 68 /* draft-ietf-idr-bgp-multisession */
#define BGP_CAPCODE_ADD_PATH 69 /* RFC7911 */
-#define BGP_CAPCODE_ENH_RR 70 /* draft-keyur-bgp-enhanced-route-refresh */
+#define BGP_CAPCODE_ENH_RR 70 /* RFC7313 */
#define BGP_CAPCODE_LLGR 71 /* draft-uttaro-idr-bgp-persistence-05 */
#define BGP_CAPCODE_RR_CISCO 128
case BGP_CAPCODE_LLGR:
case BGP_CAPCODE_RR_CISCO:
case BGP_CAPCODE_EXT_MSG:
+ case BGP_CAPCODE_ENH_RR:
break;
case BGP_CAPCODE_AS_NEW:
/*
Route Refresh (2), length: 0
Option Capabilities Advertisement (2), length: 2
Enhanced Route Refresh (70), length: 0
- no decoder for Capability 70
Option Capabilities Advertisement (2), length: 6
32-Bit AS Number (65), length: 4
4 Byte AS 65001