mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-11-15 10:20:47 +00:00
[HER-1662] use fully qualified hostname
* WriterPoolProcessor.java, ARCWriterProcessor.java, WARCWriterProcessor.java, InetAddressUtil.java
replace all InetAddress.getHostName() with InetAddress.getCanonicalHostName() (for consistency)
This commit is contained in:
1 parent
211cd7c659
commit
d253ff1ace
4 files changed
+4
-4
No files matched your search
@@ -95,7 +95,7 @@ public class InetAddressUtil {
|
||||
InetAddress ia = ee.nextElement();
|
||||
if (ia != null) {
|
||||
if (ia.getHostName() != null) {
|
||||
localNames.add(ia.getHostName());
|
||||
localNames.add(ia.getCanonicalHostName());
|
||||
}
|
||||
if (ia.getHostAddress() != null) {
|
||||
localNames.add(ia.getHostAddress());
|
||||
|
||||
Reference in new issue
Block a user