summaryrefslogtreecommitdiffhomepage
path: root/table/message.go
diff options
context:
space:
mode:
authorYuji Oshima <yuji.oshima0x3fd@gmail.com>2015-03-21 08:08:43 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-03-21 08:08:43 +0900
commit28feabe1ef3961e05e0e109551021f0bc8902abe (patch)
tree5b055cd546c0561e4fd2ac1cdb70a07fc17d6f3e /table/message.go
parent84f6e0b04cc48289d342d0b904c43ab19ba2a427 (diff)
table: add EVPN route family support
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'table/message.go')
-rw-r--r--table/message.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/table/message.go b/table/message.go
index b19bcec2..10bf0afd 100644
--- a/table/message.go
+++ b/table/message.go
@@ -161,7 +161,7 @@ func createUpdateMsgFromPath(path Path, msg *bgp.BGPMessage) *bgp.BGPMessage {
return bgp.NewBGPUpdateMessage([]bgp.WithdrawnRoute{}, pathAttrs, []bgp.NLRInfo{*nlri})
}
}
- } else if rf == bgp.RF_IPv6_UC {
+ } else if rf == bgp.RF_IPv6_UC || rf == bgp.RF_EVPN {
if path.IsWithdraw() {
if msg != nil {
idx, _ := path.getPathAttr(bgp.BGP_ATTR_TYPE_MP_REACH_NLRI)