Skip to content

Commit

Permalink
fix family ipv4/6-flow in BGP open message
Browse files Browse the repository at this point in the history
  • Loading branch information
GIC-de committed Apr 22, 2024
1 parent f4ef048 commit 26e2edc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/bngblaster/src/bgp/bgp_message.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@ bgp_push_open_message(bgp_session_s *session)
push_mp_capability(buffer, 2, 129); /* ipv6-vpn-multicast */
}
if(config->family & BGP_IPv4_FLOW) {
push_mp_capability(buffer, 1, 4); /* ipv4-flow */
push_mp_capability(buffer, 1, 133); /* ipv4-flow */
}
if(config->family & BGP_IPv6_FLOW) {
push_mp_capability(buffer, 2, 4); /* ipv6-flow */
push_mp_capability(buffer, 2, 133); /* ipv6-flow */
}
if(config->family & BGP_EVPN) {
push_mp_capability(buffer, 25, 70); /* EVPN */
Expand Down

0 comments on commit 26e2edc

Please sign in to comment.