src/org/jnetpcap/packet/format/JFormatter.java
private String resolveIp(byte[] address) {
		String f =
				(address.length == 16) ? FormatUtils.asStringIp6(address, true)
						: FormatUtils.asString(address, '.', 10).toUpperCase();
		String name = ipResolver.resolve(address);

		if (name == null) {
			return f + " (resolve failed)";

		} else {
			return f + " (" + name + ")";
		}
	}
/**
	 * Performs an IP address resolution. This method is not dependent of the
	 * boolean address resolution flags.
	 * 
	 * @param address
	 *          address to convert
	 * @return formatted string with the address resolved or address and a failure
	 *         message
	 */
Performs an IP address resolution. This method is not dependent of the
boolean address resolution flags.

@param address
address to convert
@return formatted string with the address resolved or address and a failure
message
Performs an IP address resolution . This method is not dependent of the boolean address resolution flags . @param address address to convert @return formatted string with the address resolved or address and a failure message
private String resolveIp(byte[] address) {
		String f =
				(address.length == 16) ? FormatUtils.asStringIp6(address, true)
						: FormatUtils.asString(address, '.', 10).toUpperCase();
		String name = ipResolver.resolve(address);
		if (name == null) {
			return f + " (resolve failed)";
		} else {
			return f + " (" + name + ")";
		}
	}
private String resolveIp ( byte [ ] address ) { String f = ( address . length == 16 ) ? FormatUtils . asStringIp6 ( address , true ) : FormatUtils . asString ( address , '.' , 10 ) . toUpperCase ( ) ; String name = ipResolver . resolve ( address ) ; if ( name == null ) { return f + " (resolve failed)" ; } else { return f + " (" + name + ")" ; } }
Performs an IP address resolution.
Performs an IP address resolution .