diff options
Diffstat (limited to 'conn/sticky_linux.go')
-rw-r--r-- | conn/sticky_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conn/sticky_linux.go b/conn/sticky_linux.go index 342e739..278eb19 100644 --- a/conn/sticky_linux.go +++ b/conn/sticky_linux.go @@ -25,7 +25,7 @@ func getSrcFromControl(control []byte, ep *StdNetEndpoint) { ) for len(rem) > unix.SizeofCmsghdr { - hdr, data, rem, err = unix.ParseOneSocketControlMessage(control) + hdr, data, rem, err = unix.ParseOneSocketControlMessage(rem) if err != nil { return } |