summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-05-31 05:09:28 +0000
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-06-01 10:36:03 +0900
commited23fbe22bde2c554b17355ae36df3cedc9cdfe2 (patch)
tree1cdb82d900732fe0f6f8b25dc05bfd955ab00deb
parentec4e7a755f4ef11d0206f3fe905d3eecbed2533b (diff)
docs: another update for lib.md
fix 9f6b62a5e5abcebde0008b56edcb8f40bd762d52 [skip ci] Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
-rw-r--r--docs/sources/lib.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/sources/lib.md b/docs/sources/lib.md
index 7348ab1b..d5d0d299 100644
--- a/docs/sources/lib.md
+++ b/docs/sources/lib.md
@@ -43,7 +43,7 @@ func main() {
}
// neighbor configuration
- req = gobgp.NewGrpcRequest(gobgp.REQ_ADD_NEIGHBOR, "", bgp.RouteFamily(0), &api.AddNeighborRequest{
+ req = gobgp.NewGrpcRequest(gobgp.REQ_GRPC_ADD_NEIGHBOR, "", bgp.RouteFamily(0), &api.AddNeighborRequest{
Peer: &api.Peer{
Conf: &api.PeerConf{
NeighborAddress: "192.168.0.3",