summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--conn_default.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/conn_default.go b/conn_default.go
index 549483c..6f17de5 100644
--- a/conn_default.go
+++ b/conn_default.go
@@ -111,7 +111,6 @@ func CreateBind(uport uint16, device *Device) (Bind, uint16, error) {
bind.ipv6, port, err = listenNet("udp6", port)
if err != nil && extractErrno(err) != syscall.EAFNOSUPPORT {
- return nil, 0, err
bind.ipv4.Close()
bind.ipv4 = nil
return nil, 0, err