summaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/apiutil/attribute.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/pkg/apiutil/attribute.go')
-rw-r--r--internal/pkg/apiutil/attribute.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/pkg/apiutil/attribute.go b/internal/pkg/apiutil/attribute.go
index d87fff39..4d06419f 100644
--- a/internal/pkg/apiutil/attribute.go
+++ b/internal/pkg/apiutil/attribute.go
@@ -391,6 +391,7 @@ func MarshalNLRI(value bgp.AddrPrefixInterface) *any.Any {
IpPrefix: r.IPPrefix.String(),
IpPrefixLen: uint32(r.IPPrefixLength),
Label: r.Label,
+ GwAddress: r.GWIPAddress.String(),
}
}
case *bgp.LabeledVPNIPAddrPrefix: