]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_ecommunity.h
bgpd: enhance reception of bgp ext. community default gateway
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 6 Oct 2016 13:46:45 +0000 (15:46 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 14 Feb 2017 12:58:58 +0000 (13:58 +0100)
commit1e27ef50375b2150d33ad9d591227510f5e10971
tree88548a0cae0e7ae1c50cded04d13968e17fde78b
parent61a5196233e74424d9808f4ffc857bce37f9a4c5
bgpd: enhance reception of bgp ext. community default gateway

This fix permits processing of default gateway extended
community if present. This option, if router mac option is not
present, will replace it.
Also, when exporting route entry to VRF RIB, if VRF is layer 2
type, then the ecommunity related to mac address and router mac
are stripped.

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