summaryrefslogtreecommitdiffhomepage
path: root/server/peer.go
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-09-01 13:23:52 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-09-01 13:23:52 +0900
commitf8d437ec0ea65656ca4c6d81ec48fe0f7099c60e (patch)
tree1992a2151c10f04975438e84d79217dd2fe927ac /server/peer.go
parent920d4752783e0512a76f2bd7711b5810bc7cd460 (diff)
support multihop ttl
You can enable the feature like the following: [Neighbors] [[Neighbors.NeighborList]] [Neighbors.NeighborList.NeighborConfig] PeerAs = 65001 NeighborAddress = "10.0.255.1" [Neighbors.NeighborList.EbgpMultihop] [Neighbors.NeighborList.EbgpMultihop.EbgpMultihopConfig] Enabled = true MultihopTtl = 8 Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'server/peer.go')
-rw-r--r--server/peer.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/server/peer.go b/server/peer.go
index 80d4d0dc..fef1aa07 100644
--- a/server/peer.go
+++ b/server/peer.go
@@ -226,10 +226,6 @@ func (peer *Peer) startFSMHandler(incoming chan *fsmMsg) {
}
func (peer *Peer) PassConn(conn *net.TCPConn) {
- if peer.isEBGPPeer() {
- ttl := 1
- SetTcpTTLSockopts(conn, ttl)
- }
select {
case peer.fsm.connCh <- conn:
default: