Skip to content

Commit 6740a19

Browse files
committed
Revert "bgpd: BGP session not established for ipv6 link local address with vrf config"
This reverts commit 0b6d353.
1 parent fb94a2e commit 6740a19

File tree

8 files changed

+0
-155
lines changed

8 files changed

+0
-155
lines changed

bgpd/bgp_network.c

-4
Original file line numberDiff line numberDiff line change
@@ -660,10 +660,6 @@ static int bgp_update_address(struct interface *ifp, const union sockunion *dst,
660660
return 1;
661661

662662
prefix2sockunion(sel, addr);
663-
664-
if (IN6_IS_ADDR_LINKLOCAL(&addr->sin6.sin6_addr))
665-
addr->sin6.sin6_scope_id = ifp->ifindex;
666-
667663
return 0;
668664
}
669665

bgpd/bgp_zebra.c

-3
Original file line numberDiff line numberDiff line change
@@ -748,9 +748,6 @@ bool bgp_zebra_nexthop_set(union sockunion *local, union sockunion *remote,
748748
? peer->conf_if
749749
: peer->ifname,
750750
peer->bgp->vrf_id);
751-
else if (peer->update_if)
752-
ifp = if_lookup_by_name(peer->update_if,
753-
peer->bgp->vrf_id);
754751
} else if (peer->update_if)
755752
ifp = if_lookup_by_name(peer->update_if,
756753
peer->bgp->vrf_id);

tests/topotests/bgp_vrf_ipv6_link_local/__init__.py

Whitespace-only changes.

tests/topotests/bgp_vrf_ipv6_link_local/r1/bgpd.conf

-4
This file was deleted.

tests/topotests/bgp_vrf_ipv6_link_local/r1/zebra.conf

-7
This file was deleted.

tests/topotests/bgp_vrf_ipv6_link_local/r2/bgpd.conf

-4
This file was deleted.

tests/topotests/bgp_vrf_ipv6_link_local/r2/zebra.conf

-7
This file was deleted.

tests/topotests/bgp_vrf_ipv6_link_local/test_bgp_vrf_ipv6_ll_func.py

-126
This file was deleted.

0 commit comments

Comments
 (0)