summaryrefslogtreecommitdiffhomepage
path: root/table
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-09-30 20:44:12 -0700
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-09-30 20:44:12 -0700
commitd79b23967a3b0ea0faeccf1b1ed893b49c5356e9 (patch)
tree6334fa81d58110f12e7f47284a3a2cd4c6e59ad1 /table
parentdfe1b71fd28496110436ff15bf135feec02f181e (diff)
server: add vrf support to bestpath watch
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'table')
-rw-r--r--table/path.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/table/path.go b/table/path.go
index b07c01e1..b0f21e04 100644
--- a/table/path.go
+++ b/table/path.go
@@ -86,6 +86,7 @@ type Path struct {
parent *Path
dels []bgp.BGPAttrType
filtered map[string]PolicyDirection
+ VrfIds []uint16
}
func NewPath(source *PeerInfo, nlri bgp.AddrPrefixInterface, isWithdraw bool, pattrs []bgp.PathAttributeInterface, timestamp time.Time, noImplicitWithdraw bool) *Path {