summaryrefslogtreecommitdiffhomepage
path: root/table
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-01-03 21:43:12 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-01-03 21:43:12 +0900
commit48f95fa12b4c9a223a9dbd85baf8c7158327a49e (patch)
treeb91ccf2f7045462e477c9c1219483e137a5c5b55 /table
parentf62b27837e98501743aff07b62cf5ae46804bdd0 (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')
-rw-r--r--table/destination.go1
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 {