Fixes SinglePort, broken after removing unused public address field.
This commit is contained in:
parent
9bd973f0a8
commit
399ebcdf3b
@ -133,6 +133,20 @@ public class SinglePortUdpHarvester
|
|||||||
logger.info("Failed to get network interfaces: " + se);
|
logger.info("Failed to get network interfaces: " + se);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (TransportAddress address : addresses)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
harvesters.add(
|
||||||
|
new SinglePortUdpHarvester(address));
|
||||||
|
}
|
||||||
|
catch (IOException ioe)
|
||||||
|
{
|
||||||
|
logger.info("Failed to create SinglePortUdpHarvester for "
|
||||||
|
+ "address " + address + ": " + ioe);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return harvesters;
|
return harvesters;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user