mirror of
https://github.com/slackhq/nebula.git
synced 2025-11-22 16:34:25 +01:00
16 lines
358 B
Go
16 lines
358 B
Go
//go:build !linux || android || e2e_testing
|
|
|
|
package udp
|
|
|
|
import (
|
|
"fmt"
|
|
"net/netip"
|
|
|
|
"github.com/sirupsen/logrus"
|
|
)
|
|
|
|
// NewWireguardListener is only available on Linux builds.
|
|
func NewWireguardListener(*logrus.Logger, netip.Addr, int, bool, int) (Conn, error) {
|
|
return nil, fmt.Errorf("wireguard experimental UDP listener is only supported on Linux")
|
|
}
|