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
@@ -168,7 +168,7 @@ func DialUDP(network string, laddr, raddr *UDPAddr) (*UDPConn, error) {
laddr.Port = ephemeralPort()
}
fd, err := netdev.Socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)
fd, err := netdev.Socket(_AF_INET, _SOCK_DGRAM, _IPPROTO_UDP)
if err != nil {
return nil, err
}