Unexport net constants copied over from syscall

This commit is contained in:
Scott Feldman
2023-05-02 18:05:11 -07:00
committed by deadprogram
parent 2d46776c18
commit 6bb697535a
4 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ func DialTLS(addr string) (*TLSConn, error) {
port = 443
}
fd, err := netdev.Socket(AF_INET, SOCK_STREAM, IPPROTO_TLS)
fd, err := netdev.Socket(_AF_INET, _SOCK_STREAM, _IPPROTO_TLS)
if err != nil {
return nil, err
}