From c97c11fe4bcca80497b3fd487356d38154351eb0 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Tue, 28 Feb 2006 19:18:46 +0000 Subject: [PATCH] add loopback constants --- bindings/java/src/net/hyperic/sigar/NetFlags.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bindings/java/src/net/hyperic/sigar/NetFlags.java b/bindings/java/src/net/hyperic/sigar/NetFlags.java index 589be1ec..41889c99 100644 --- a/bindings/java/src/net/hyperic/sigar/NetFlags.java +++ b/bindings/java/src/net/hyperic/sigar/NetFlags.java @@ -14,6 +14,10 @@ public class NetFlags { 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 */