Fix an issue with lowercase http headers

This commit is contained in:
Sergey Shkurov
2022-11-28 15:38:44 +01:00
parent 7bc02dd91f
commit ca58d29cb2
5 changed files with 7 additions and 4 deletions

View File

@@ -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");
}