Fix an issue with lowercase http headers
This commit is contained in:
@@ -27,6 +27,7 @@ public class LivePcapWorker extends AbstractPcapWorker {
|
||||
device = Pcaps.getDevByName(interfaceName);
|
||||
|
||||
if(device == null) {
|
||||
log.info("Existing devices: {}", Pcaps.findAllDevs().stream().map(PcapNetworkInterface::getName).toList());
|
||||
throw new IllegalArgumentException("Device " + interfaceName + " does not exist");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user