@@ -230,7 +230,7 @@ func processPacket(packet gopacket.Packet) {
CreatedAt: packet.Metadata().CaptureInfo.Timestamp.UnixNano(),
}
- switch *protocol {
+ switch config.Protocol {
case "http":
processHTTP(&request, applicationLayer.Payload())
case "ajp13":