Removed IP_LOCALHOST, since we now use IP_SELF instead

This commit is contained in:
nathan 2016-03-18 03:48:44 +01:00
parent e6c776573c
commit 1b61513b6c

View File

@ -26,7 +26,7 @@ class DB_Server {
/** /**
* Address 0.0.0.0/32 may be used as a source address for this host on this network. * Address 0.0.0.0/32 may be used as a source address for this host on this network.
*/ */
public static final ByteArrayWrapper IP_LOCALHOST = ByteArrayWrapper.wrap(new byte[] {127, 0, 0, 1}); public static final ByteArrayWrapper IP_SELF = ByteArrayWrapper.wrap(new byte[] {0, 0, 0, 0});
// salt + IP address is used for equals! // salt + IP address is used for equals!
private byte[] ipAddress; private byte[] ipAddress;