diff options
Diffstat (limited to 'pkg/server/zclient.go')
-rw-r--r-- | pkg/server/zclient.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/server/zclient.go b/pkg/server/zclient.go index 1c315a6c..390628f0 100644 --- a/pkg/server/zclient.go +++ b/pkg/server/zclient.go @@ -433,8 +433,8 @@ func (z *zebraClient) loop() { for _, path := range msg.PathList { vrfs := []uint32{0} if msg.Vrf != nil { - if v, ok := msg.Vrf[path.GetNlri().String()]; ok { - vrfs = append(vrfs, v) + for vrfId := range msg.Vrf { + vrfs = append(vrfs, vrfId) } } for _, i := range vrfs { |