Commit d49feac6 authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

unix -> syscall for 1.2/1.3

parent 182e6e1f
......@@ -3,8 +3,8 @@
package reuseport
import (
unix "golang.org/x/sys/unix"
"syscall"
)
var soReusePort = unix.SO_REUSEPORT
var soReuseAddr = unix.SO_REUSEADDR
var soReusePort = syscall.SO_REUSEPORT
var soReuseAddr = syscall.SO_REUSEADDR
......@@ -3,8 +3,8 @@
package reuseport
import (
unix "golang.org/x/sys/unix"
"syscall"
)
var soReusePort = 15 // this is not defined in unix go pkg.
var soReuseAddr = unix.SO_REUSEADDR
var soReuseAddr = syscall.SO_REUSEADDR
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment