summaryrefslogtreecommitdiffhomepage
path: root/pkg/server/sockopt_stub.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/server/sockopt_stub.go')
-rw-r--r--pkg/server/sockopt_stub.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/pkg/server/sockopt_stub.go b/pkg/server/sockopt_stub.go
index 9e888dc5..fd600e3a 100644
--- a/pkg/server/sockopt_stub.go
+++ b/pkg/server/sockopt_stub.go
@@ -25,10 +25,6 @@ func setTcpMD5SigSockopt(l *net.TCPListener, address string, key string) error {
return fmt.Errorf("setting md5 is not supported")
}
-func setListenTcpTTLSockopt(l *net.TCPListener, ttl int) error {
- return fmt.Errorf("setting ttl is not supported")
-}
-
func setTcpTTLSockopt(conn *net.TCPConn, ttl int) error {
return fmt.Errorf("setting ttl is not supported")
}