equal
deleted
inserted
replaced
100 |
100 |
101 if (optID == SO_BINDADDR) { |
101 if (optID == SO_BINDADDR) { |
102 if ((fd != null && fd1 != null) && !connected) { |
102 if ((fd != null && fd1 != null) && !connected) { |
103 return anyLocalBoundAddr; |
103 return anyLocalBoundAddr; |
104 } |
104 } |
105 int family = connectedAddress == null ? -1 : connectedAddress.family; |
105 int family = connectedAddress == null ? -1 : connectedAddress.holder().getFamily(); |
106 return socketLocalAddress(family); |
106 return socketLocalAddress(family); |
107 } else |
107 } else |
108 return super.getOption(optID); |
108 return super.getOption(optID); |
109 } |
109 } |
110 |
110 |