Skip to content

Commit

Permalink
Revert "bgpd: BGP session not established for ipv6 link local address…
Browse files Browse the repository at this point in the history
… with vrf config"

This reverts commit 0b6d353.
  • Loading branch information
ton31337 committed Apr 9, 2021
1 parent fb94a2e commit 6740a19
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 155 deletions.
4 changes: 0 additions & 4 deletions bgpd/bgp_network.c
Original file line number Diff line number Diff line change
Expand Up @@ -660,10 +660,6 @@ static int bgp_update_address(struct interface *ifp, const union sockunion *dst,
return 1;

prefix2sockunion(sel, addr);

if (IN6_IS_ADDR_LINKLOCAL(&addr->sin6.sin6_addr))
addr->sin6.sin6_scope_id = ifp->ifindex;

return 0;
}

Expand Down
3 changes: 0 additions & 3 deletions bgpd/bgp_zebra.c
Original file line number Diff line number Diff line change
Expand Up @@ -748,9 +748,6 @@ bool bgp_zebra_nexthop_set(union sockunion *local, union sockunion *remote,
? peer->conf_if
: peer->ifname,
peer->bgp->vrf_id);
else if (peer->update_if)
ifp = if_lookup_by_name(peer->update_if,
peer->bgp->vrf_id);
} else if (peer->update_if)
ifp = if_lookup_by_name(peer->update_if,
peer->bgp->vrf_id);
Expand Down
Empty file.
4 changes: 0 additions & 4 deletions tests/topotests/bgp_vrf_ipv6_link_local/r1/bgpd.conf

This file was deleted.

7 changes: 0 additions & 7 deletions tests/topotests/bgp_vrf_ipv6_link_local/r1/zebra.conf

This file was deleted.

4 changes: 0 additions & 4 deletions tests/topotests/bgp_vrf_ipv6_link_local/r2/bgpd.conf

This file was deleted.

7 changes: 0 additions & 7 deletions tests/topotests/bgp_vrf_ipv6_link_local/r2/zebra.conf

This file was deleted.

126 changes: 0 additions & 126 deletions tests/topotests/bgp_vrf_ipv6_link_local/test_bgp_vrf_ipv6_ll_func.py

This file was deleted.

0 comments on commit 6740a19

Please sign in to comment.