Skip to content

Commit 2e8cb5a

Browse files
committed
1 parent ddc044c commit 2e8cb5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/org/jgroups/protocols/FD_SOCK2.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,8 @@ protected boolean connectTo(IpAddress dest, Address logical_addr) {
442442
/** Returns the physical addresses for a in range [a+offset..a+offset+port_range */
443443
protected List<IpAddress> getPhysicalAddresses(Address a) {
444444
IpAddress pa=(IpAddress)down_prot.down(new Event(Event.GET_PHYSICAL_ADDRESS, a));
445+
if(pa == null)
446+
return Collections.emptyList();
445447
InetAddress addr=pa.getIpAddress();
446448
int actual_port=pa.getPort();
447449
int[] bind_ports=computeBindPorts(actual_port);

0 commit comments

Comments
 (0)