Merge branch '885_store_only_four_lan_ip' into 'master'

Store only 4 ip addresses because 5 exceed the maximum length.

Closes #885

See merge request !510
This commit is contained in:
akwizgran
2017-04-06 14:38:49 +00:00

View File

@@ -44,7 +44,7 @@ class LanTcpPlugin extends TcpPlugin {
private static final Logger LOG =
Logger.getLogger(LanTcpPlugin.class.getName());
private static final int MAX_ADDRESSES = 5;
private static final int MAX_ADDRESSES = 4;
private static final String PROP_IP_PORTS = "ipPorts";
private static final String SEPARATOR = ",";