diff options
Diffstat (limited to 'internal')
-rw-r--r-- | internal/pkg/apiutil/attribute.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/pkg/apiutil/attribute.go b/internal/pkg/apiutil/attribute.go index 2915faa3..48463a0c 100644 --- a/internal/pkg/apiutil/attribute.go +++ b/internal/pkg/apiutil/attribute.go @@ -1230,6 +1230,10 @@ func NewLsAttributeFromNative(a *bgp.PathAttributeLs) *api.LsAttribute { } } + if attr.Link.Srlgs != nil { + apiAttr.Link.Srlgs = append(apiAttr.Link.Srlgs, *attr.Link.Srlgs...) + } + if attr.Prefix.IGPFlags != nil { apiAttr.Prefix.IgpFlags = &api.LsIGPFlags{ Down: attr.Prefix.IGPFlags.Down, |