Fix typo in TODO comments.

PiperOrigin-RevId: 304508083
This commit is contained in:
Dean Deng
2020-04-02 17:07:13 -07:00
committed by gVisor bot
parent dbc507dc5c
commit 5b2396d244
7 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -663,7 +663,7 @@ func (s *SocketOperations) checkFamily(family uint16, exact bool) *syserr.Error
// This is a hack to work around the fact that both IPv4 and IPv6 ANY are
// represented by the empty string.
//
// TODO(gvisor.dev/issues/1556): remove this function.
// TODO(gvisor.dev/issue/1556): remove this function.
func (s *SocketOperations) mapFamily(addr tcpip.FullAddress, family uint16) tcpip.FullAddress {
if len(addr.Addr) == 0 && s.family == linux.AF_INET6 && family == linux.AF_INET {
addr.Addr = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x00\x00"