diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-07-11 13:25:17 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-07-11 13:25:17 +0000 |
commit | 7f634efbfa8ab38b63631bf259a87c5bc7c04bed (patch) | |
tree | 81fd34bcc1f69a3020c6a2e40104dff23271114f /pkg/tcpip/transport/icmp | |
parent | 7c2f78ead662934ac0e92d4a3addaec7db6e3cbd (diff) | |
parent | 216dcebc066c82907b0de790a77a3deb6a734805 (diff) |
Merge release-20200622.1-90-g216dcebc0 (automated)
Diffstat (limited to 'pkg/tcpip/transport/icmp')
-rw-r--r-- | pkg/tcpip/transport/icmp/endpoint.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/tcpip/transport/icmp/endpoint.go b/pkg/tcpip/transport/icmp/endpoint.go index 62d1acad4..678f4e016 100644 --- a/pkg/tcpip/transport/icmp/endpoint.go +++ b/pkg/tcpip/transport/icmp/endpoint.go @@ -344,6 +344,10 @@ func (e *endpoint) Peek([][]byte) (int64, tcpip.ControlMessages, *tcpip.Error) { // SetSockOpt sets a socket option. func (e *endpoint) SetSockOpt(opt interface{}) *tcpip.Error { + switch opt.(type) { + case tcpip.SocketDetachFilterOption: + return nil + } return nil } |