Merge branch 'fix-udp-dup' into 'main'
Return EADDRNOTAVAIL in UDP scheme if dup called with unspecified address See merge request redox-os/base!109
This commit is contained in:
@@ -241,7 +241,7 @@ impl<'a> SchemeSocket for UdpSocket<'a> {
|
||||
if remote_endpoint.is_specified() {
|
||||
remote_endpoint
|
||||
} else {
|
||||
udp_handle.data
|
||||
return Err(SyscallError::new(syscall::EADDRNOTAVAIL));
|
||||
},
|
||||
))
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user