]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: update mp_nexthop field in case mp-bgp entry is created
authorPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 20 Jan 2017 13:02:49 +0000 (14:02 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 14 Feb 2017 12:58:59 +0000 (13:58 +0100)
commit061e9fdea56b6078b68ab23191449abd92aa71cf
tree3ca6bc199bacf7df4113c8297ab954daddefee90
parent3da6fcd55711c5226fc2a29738ad886155d94bc5
bgpd: update mp_nexthop field in case mp-bgp entry is created

In case a manual set of MPLS, ENCAP, or EVPN entry is set, then the
nexthop attribute localted in attr->extra structure must be changed too.
In standard cases, where IPv4 IGP nexthop address is picked up, the same
address ie chosen.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_route.c