diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2017-02-13 07:49:42 +0000 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-02-15 00:10:15 +0900 |
commit | 9a45ed09b0a1b55be1391e3e5ba0e008b776d262 (patch) | |
tree | cb7f53dd331a635a006c3cc1543f83f560d91a46 /docs/sources | |
parent | 52356c26f821fdebb3fdf943a1b898a2d1b4d0db (diff) |
cli: add current option to monitor commands
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'docs/sources')
-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 479f7d1e..e6bbd958 100644 --- a/docs/sources/lib.md +++ b/docs/sources/lib.md @@ -67,7 +67,7 @@ func main() { } // monitor new routes - w := s.Watch(gobgp.WatchBestPath()) + w := s.Watch(gobgp.WatchBestPath(false)) for { select { case ev := <-w.Event(): |