diff options
Diffstat (limited to 'conn/sticky_default.go')
-rw-r--r-- | conn/sticky_default.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/conn/sticky_default.go b/conn/sticky_default.go index 05f00ea..1fa8a0c 100644 --- a/conn/sticky_default.go +++ b/conn/sticky_default.go @@ -7,6 +7,20 @@ package conn +import "net/netip" + +func (e *StdNetEndpoint) SrcIP() netip.Addr { + return netip.Addr{} +} + +func (e *StdNetEndpoint) SrcIfidx() int32 { + return 0 +} + +func (e *StdNetEndpoint) SrcToString() string { + return "" +} + // TODO: macOS, FreeBSD and other BSDs likely do support this feature set, but // use alternatively named flags and need ports and require testing. |