Skip to content

Commit

Permalink
Merge pull request FRRouting#14341 from opensourcerouting/fix/bgpd_BG…
Browse files Browse the repository at this point in the history
…P_ATTR_PMSI_TUNNEL_treat_as_withdraw

bgpd: AS4_PATH and PMSI tunnel attributes handling by RFC 7606
  • Loading branch information
riw777 authored Sep 5, 2023
2 parents 9fb7f24 + e8cac07 commit 9770c83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bgpd/bgp_attr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1396,6 +1396,7 @@ bgp_attr_malformed(struct bgp_attr_parser_args *args, uint8_t subcode,
*/
case BGP_ATTR_ORIGIN:
case BGP_ATTR_AS_PATH:
case BGP_ATTR_AS4_PATH:
case BGP_ATTR_NEXT_HOP:
case BGP_ATTR_MULTI_EXIT_DISC:
case BGP_ATTR_LOCAL_PREF:
Expand All @@ -1405,6 +1406,7 @@ bgp_attr_malformed(struct bgp_attr_parser_args *args, uint8_t subcode,
case BGP_ATTR_LARGE_COMMUNITIES:
case BGP_ATTR_ORIGINATOR_ID:
case BGP_ATTR_CLUSTER_LIST:
case BGP_ATTR_PMSI_TUNNEL:
case BGP_ATTR_ENCAP:
case BGP_ATTR_OTC:
return BGP_ATTR_PARSE_WITHDRAW;
Expand Down

0 comments on commit 9770c83

Please sign in to comment.