mirror of
https://github.com/corda/corda.git
synced 2025-03-17 17:45:17 +00:00
commit
74d91bb5e2
@ -185,9 +185,10 @@ public class SocketChannel extends SelectableChannel
|
||||
}
|
||||
|
||||
if (a == null) {
|
||||
bind(socket, 0, 0);
|
||||
SocketChannel.bind(socket, 0, 0);
|
||||
} else {
|
||||
bind(socket, a.getAddress().getRawAddress(), a.getPort());
|
||||
SocketChannel.bind
|
||||
(socket, a.getAddress().getRawAddress(), a.getPort());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user