Console, i2ptunnel: Hide temporary IPv6 addresses from bind options

This commit is contained in:
zzz
2020-03-01 15:41:49 +00:00
parent 3f629ce1af
commit d38c660c36
3 changed files with 32 additions and 6 deletions

View File

@@ -82,7 +82,8 @@ public class ConfigClientsHelper extends HelperBase {
/** @since 0.8.3 */
public String[] intfcAddresses() {
ArrayList<String> al = new ArrayList<String>(Addresses.getAllAddresses());
// Exclude IPv6 temporary
ArrayList<String> al = new ArrayList<String>(Addresses.getAddresses(true, true, true, false));
return al.toArray(new String[al.size()]);
}