mirror of
https://github.com/slackhq/nebula.git
synced 2026-10-07 04:37:54 +02:00
the definitive tun offloads branch (#1704)
This commit is contained in:
+2
-3
@@ -7,14 +7,13 @@ import (
|
||||
"fmt"
|
||||
"log/slog"
|
||||
"net"
|
||||
"net/netip"
|
||||
"syscall"
|
||||
|
||||
"golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
func NewListener(l *slog.Logger, ip netip.Addr, port int, multi bool, batch int) (Conn, error) {
|
||||
return NewGenericListener(l, ip, port, multi, batch)
|
||||
func NewListener(l *slog.Logger, s Settings) (Conn, error) {
|
||||
return NewGenericListener(l, s)
|
||||
}
|
||||
|
||||
func NewListenConfig(multi bool) net.ListenConfig {
|
||||
|
||||
Reference in New Issue
Block a user