add loopback constants
This commit is contained in:
parent
6e7cf6f585
commit
c97c11fe4b
|
@ -14,6 +14,10 @@ public class NetFlags {
|
||||||
|
|
||||||
public static final String ANY_ADDR = "0.0.0.0";
|
public static final String ANY_ADDR = "0.0.0.0";
|
||||||
|
|
||||||
|
public static final String LOOPBACK_HOSTNAME = "localhost";
|
||||||
|
|
||||||
|
public static final String LOOPBACK_ADDRESS = "127.0.0.1";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* interface is up
|
* interface is up
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue