diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-01-03 21:43:12 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-01-03 21:43:12 +0900 |
commit | 48f95fa12b4c9a223a9dbd85baf8c7158327a49e (patch) | |
tree | b91ccf2f7045462e477c9c1219483e137a5c5b55 /table/destination.go | |
parent | f62b27837e98501743aff07b62cf5ae46804bdd0 (diff) |
server: properly handle peer configured later
- send adj-in in all the existing peers to a peer configured after gobgpd started.
- peer sends update message information (path) to another peer directly instead of via gobgpd (this improves the performance)
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'table/destination.go')
-rw-r--r-- | table/destination.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/table/destination.go b/table/destination.go index 06bab95c..73cae66c 100644 --- a/table/destination.go +++ b/table/destination.go @@ -46,6 +46,7 @@ type PeerInfo struct { VersionNum int LocalID net.IP RF bgp.RouteFamily + Address net.IP } type Destination interface { |