]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_zebra.c
bgpd: fix sending of ECMP routes with both v4/v6 nexthops to zebra
authorRenato Westphal <renato@opensourcerouting.org>
Tue, 19 Sep 2017 12:33:40 +0000 (09:33 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Tue, 19 Sep 2017 18:14:07 +0000 (15:14 -0300)
commitd0d695f4f7749d89dcd84e59ed7836d061f86343
tree7bdd319488831f42785b7ec1bcba168d8fb4c84b
parent3fabacd286766120959bd11f06668f328406b483
bgpd: fix sending of ECMP routes with both v4/v6 nexthops to zebra

The previous code assumed that all nexthops of an ECMP route were of
the same address-family. This is not always the case.

Reported-by: Don Slice <dslice@cumulusnetworks.com>
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
bgpd/bgp_zebra.c