diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2017-11-29 19:36:04 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2017-11-29 19:36:04 +0000 |
commit | 7b7421b074c872b992ce89edf8b921dddd3a4796 (patch) | |
tree | 66d3591b6dbb171a311422944ad9940cefa46b11 /usr.sbin/bgpd | |
parent | 272303fcac9605ffced23c4681f61fc329cc97d5 (diff) |
Make mpe(4) work again by:
- Change the way mpe figures out the IP of the MPLS nexthop. Instead of using
RTF_GATEWAY and so a valid (and cachable) gateway route just use the
gateway IP address of the route (rt->rt_gateway).
- Make sure the interface is up when adding a mplslabel. The inserted route
is in rtable 0 and so invisible for the link state tracker. Forcing the if_up
ensures that the added route is RTF_UP.
OK mpi@
Diffstat (limited to 'usr.sbin/bgpd')
0 files changed, 0 insertions, 0 deletions