mirror of
https://github.com/osrg/gobgp.git
synced 2024-05-11 05:55:10 +00:00
docs: another update for lib.md
fix 9f6b62a5e5
[skip ci]
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
This commit is contained in:
committed by
FUJITA Tomonori
parent
ec4e7a755f
commit
ed23fbe22b
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user