diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/sources/lib.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/sources/lib.md b/docs/sources/lib.md index 2b79c092..f0fbfc35 100644 --- a/docs/sources/lib.md +++ b/docs/sources/lib.md @@ -73,7 +73,7 @@ func main() { _, err := s.AddPath(context.Background(), &api.AddPathRequest{ Path: &api.Path{ - Family: uint32(api.Family_IPv4), + Family: &api.Family{Afi: api.Family_AFI_IP, Safi: api.Family_SAFI_UNICAST}, AnyNlri: nlri, AnyPattrs: attrs, }, |