]> git.ipfire.org Git - thirdparty/bird.git/commit
MRT: Fix IPv6 table dumps
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 12 Jan 2021 14:37:01 +0000 (15:37 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 12 Jan 2021 14:37:01 +0000 (15:37 +0100)
commitd774f6d721b0e52ed800c4b9a3a482c8ce9dd074
tree8aa6798a9e775098edda40f348a6ee4646b64ee4
parent910adaa08bbd416288797505399ab47f990817e6
MRT: Fix IPv6 table dumps

Add fake MP_REACH_NLRI attribute with BGP next hop when encoding MRT
table dumps for IPv6 routes. That is necessary to encode next hop as
NEXT_HOP attribute is not used for MP-BGP.

Thanks to Santiago Aggio for the bugreport.
proto/bgp/attrs.c
proto/bgp/bgp.h
proto/mrt/mrt.c