diff options
Diffstat (limited to 'pkg/server')
-rw-r--r-- | pkg/server/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/server/server.go b/pkg/server/server.go index 17937fff..71508666 100644 --- a/pkg/server/server.go +++ b/pkg/server/server.go @@ -2086,7 +2086,7 @@ func (s *BgpServer) AddVrf(ctx context.Context, r *api.AddVrfRequest) error { s.propagateUpdate(nil, pathList) } if vrf, ok := s.globalRib.Vrfs[name]; ok { - if s.zclient.mplsLabelRangeSize > 0 { + if s.bgpConfig.Zebra.Config.MplsLabelRangeSize > 0 { go assignMplsLabel(s, vrf) } } |