summaryrefslogtreecommitdiffhomepage
path: root/server/server_test.go
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2017-07-04 14:24:57 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-07-04 14:24:57 +0900
commit454fd93ef707c530b3ece04ef4727ad1f7371d4b (patch)
tree379ef72e0b04fcc5bb913c435f162bdeaf5fcbdc /server/server_test.go
parent1d46f58ff1df4d1195091a9f25e74a583801b39d (diff)
support addpath recv
Diffstat (limited to 'server/server_test.go')
-rw-r--r--server/server_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/server_test.go b/server/server_test.go
index fb7b97f3..b8dc58f5 100644
--- a/server/server_test.go
+++ b/server/server_test.go
@@ -209,7 +209,7 @@ func newPeerandInfo(myAs, as uint32, address string, rib *table.TableManager) (*
rib,
policy)
for _, f := range rib.GetRFlist() {
- p.fsm.rfMap[f] = true
+ p.fsm.rfMap[f] = bgp.BGP_ADD_PATH_NONE
}
return p, &table.PeerInfo{AS: as, Address: net.ParseIP(address)}
}