summaryrefslogtreecommitdiffhomepage
path: root/server/peer.go
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-09-23 12:06:21 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-09-25 18:17:06 +0900
commitca96672dc69d426bfcc94ca6d966e2bba556bdd1 (patch)
tree949de83be3dd59b0e9aaf6392cf2784532e9a0bc /server/peer.go
parent8adeda1ad84b61090f6f46509e8a0eef5e4fec77 (diff)
server/table: assign mpls labels to locally generated vpn routes
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'server/peer.go')
-rw-r--r--server/peer.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/peer.go b/server/peer.go
index 4f0f9997..2d3b4083 100644
--- a/server/peer.go
+++ b/server/peer.go
@@ -383,9 +383,9 @@ type LocalRib struct {
defaultExportPolicy config.DefaultPolicyType
}
-func NewLocalRib(owner string, rfList []bgp.RouteFamily, policyMap map[string]*policy.Policy) *LocalRib {
+func NewLocalRib(owner string, rfList []bgp.RouteFamily, minLabel, maxLabel uint32) *LocalRib {
return &LocalRib{
- rib: table.NewTableManager(owner, rfList),
+ rib: table.NewTableManager(owner, rfList, minLabel, maxLabel),
}
}