[bgpgrep] Add human readable shorthand for attribute OTC (-attr option).

This commit is contained in:
Lorenzo Cogotti 2023-06-20 09:41:22 +02:00
parent 2ce39190e1
commit b57316654b
1 changed files with 1 additions and 0 deletions

View File

@ -211,6 +211,7 @@ static BgpAttrCode ParseBgpAttr(void)
if (Df_stricmp(tok, "LARGE_COMMUNITY") == 0) return BGP_ATTR_LARGE_COMMUNITY;
if (Df_stricmp(tok, "BGPSEC_PATH") == 0) return BGP_ATTR_BGPSEC_PATH;
if (Df_stricmp(tok, "COMMUNITY_CONTAINER") == 0) return BGP_ATTR_COMMUNITY_CONTAINER;
if (Df_stricmp(tok, "OTC") == 0) return BGP_ATTR_OTC;
if (Df_stricmp(tok, "PREFIX_SID") == 0) return BGP_ATTR_PREFIX_SID;
if (Df_stricmp(tok, "SET") == 0) return BGP_ATTR_SET;