diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/sources/lib.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/sources/lib.md b/docs/sources/lib.md index ba481797..5ad4643c 100644 --- a/docs/sources/lib.md +++ b/docs/sources/lib.md @@ -74,8 +74,8 @@ func main() { _, err := s.AddPath(context.Background(), &api.AddPathRequest{ Path: &api.Path{ Family: &api.Family{Afi: api.Family_AFI_IP, Safi: api.Family_SAFI_UNICAST}, - AnyNlri: nlri, - AnyPattrs: attrs, + Nlri: nlri, + Pattrs: attrs, }, }) if err != nil { |