From c0ee094317f468a3b13b1a3822108358ed47142b Mon Sep 17 00:00:00 2001 From: welu Date: Tue, 18 Aug 2020 19:58:28 +0800 Subject: [PATCH] Fix libpcap spelling --- capture/capture.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capture/capture.go b/capture/capture.go index 26c7282..474ee69 100644 --- a/capture/capture.go +++ b/capture/capture.go @@ -67,7 +67,7 @@ const ( // Set is here so that EngineType can implement flag.Var func (eng *EngineType) Set(v string) error { switch v { - case "", "libcap": + case "", "libpcap": *eng = EnginePcap case "pcap_file": *eng = EnginePcapFile