diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-11-02 00:03:41 -0700 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-11-03 02:49:59 -0700 |
commit | be9918a163a20a7a885dc9206a733d983ee76b3a (patch) | |
tree | c73975d94321a1a02429fb6ad0d3e0373c3f4813 /table/vrf.go | |
parent | c7653aa9d4276098a7a6b5ade5ffce5bf5d089e8 (diff) |
remove label allocation completely
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'table/vrf.go')
-rw-r--r-- | table/vrf.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/table/vrf.go b/table/vrf.go index 15b194db..1440f896 100644 --- a/table/vrf.go +++ b/table/vrf.go @@ -26,7 +26,6 @@ type Vrf struct { Rd bgp.RouteDistinguisherInterface ImportRt []bgp.ExtendedCommunityInterface ExportRt []bgp.ExtendedCommunityInterface - LabelMap map[string]uint32 } func (v *Vrf) ToGlobalPath(path *Path) error { @@ -67,13 +66,6 @@ func (v *Vrf) Clone() *Vrf { Rd: v.Rd, ImportRt: f(v.ImportRt), ExportRt: f(v.ExportRt), - LabelMap: func() map[string]uint32 { - m := make(map[string]uint32) - for k, v := range v.LabelMap { - m[k] = v - } - return m - }(), } } |