summaryrefslogtreecommitdiffhomepage
path: root/conn/bind_std.go
diff options
context:
space:
mode:
Diffstat (limited to 'conn/bind_std.go')
-rw-r--r--conn/bind_std.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/conn/bind_std.go b/conn/bind_std.go
index 5a00f34..e1bcbd1 100644
--- a/conn/bind_std.go
+++ b/conn/bind_std.go
@@ -65,7 +65,7 @@ func NewStdNetBind() Bind {
msgs := make([]ipv6.Message, IdealBatchSize)
for i := range msgs {
msgs[i].Buffers = make(net.Buffers, 1)
- msgs[i].OOB = make([]byte, controlSize)
+ msgs[i].OOB = make([]byte, stickyControlSize+gsoControlSize)
}
return &msgs
},