summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2018-10-23 12:51:26 -0700
committerShentubot <shentubot@google.com>2018-10-23 12:52:27 -0700
commit1369e17504f994024aea84bb0e4aa9ddce00f70a (patch)
tree0c52a9dfe8d5ebf0e75e8ac794bb8b8ab60223fe
parentce3a762038006429b1eb3b855d4e9c5d700edfda (diff)
Remove blanket TODO, as it is self-evident.
PiperOrigin-RevId: 218390517 Change-Id: Ic891c1626e62a6c4ed57f8180740872bcd1be177
-rw-r--r--pkg/tcpip/transport/udp/endpoint.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkg/tcpip/transport/udp/endpoint.go b/pkg/tcpip/transport/udp/endpoint.go
index d777a80d0..57b875680 100644
--- a/pkg/tcpip/transport/udp/endpoint.go
+++ b/pkg/tcpip/transport/udp/endpoint.go
@@ -378,7 +378,6 @@ func (e *endpoint) Peek([][]byte) (uintptr, tcpip.ControlMessages, *tcpip.Error)
// SetSockOpt sets a socket option. Currently not supported.
func (e *endpoint) SetSockOpt(opt interface{}) *tcpip.Error {
- // TODO: Actually implement this.
switch v := opt.(type) {
case tcpip.V6OnlyOption:
// We only recognize this option on v6 endpoints.