From 375e1d65b2c90c3d287b83633ec13efde9aa62a2 Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Sun, 30 Aug 2015 21:36:41 +0900 Subject: server: support route reflector behavior scenario_test is also added Signed-off-by: ISHIDA Wataru --- table/destination.go | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'table/destination.go') diff --git a/table/destination.go b/table/destination.go index 290830a4..5889fb5b 100644 --- a/table/destination.go +++ b/table/destination.go @@ -52,11 +52,13 @@ func CidrToRadixkey(cidr string) string { } type PeerInfo struct { - AS uint32 - ID net.IP - LocalAS uint32 - LocalID net.IP - Address net.IP + AS uint32 + ID net.IP + LocalAS uint32 + LocalID net.IP + Address net.IP + RouteReflectorClient bool + RouteReflectorClusterID net.IP } func (lhs *PeerInfo) Equal(rhs *PeerInfo) bool { -- cgit v1.2.3