From 2f5a4d59cb8d494bcf1a64d45d84bcd8fd4a7f06 Mon Sep 17 00:00:00 2001 From: Hitoshi Irino Date: Mon, 24 Jun 2019 00:39:22 +0900 Subject: BGP connection on a speecified interface (including which is associated VRF) using syscall SO_BINDTODEVICE --- pkg/server/sockopt_openbsd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/server/sockopt_openbsd.go') diff --git a/pkg/server/sockopt_openbsd.go b/pkg/server/sockopt_openbsd.go index e65aabe0..3d6825e2 100644 --- a/pkg/server/sockopt_openbsd.go +++ b/pkg/server/sockopt_openbsd.go @@ -403,7 +403,7 @@ func setTCPMinTTLSockopt(conn *net.TCPConn, ttl int) error { return setsockOptInt(sc, level, name, ttl) } -func dialerControl(network, address string, c syscall.RawConn, ttl, minTtl uint8, password string) error { +func dialerControl(network, address string, c syscall.RawConn, ttl, minTtl uint8, password string, bindInterface string) error { if password != "" { log.WithFields(log.Fields{ "Topic": "Peer", -- cgit v1.2.3