From 6d1603b58ea1e93f7b1ffc189546909d508a6365 Mon Sep 17 00:00:00 2001 From: CyberRoute Date: Fri, 12 Jan 2024 13:41:05 +0100 Subject: [PATCH] fixing lint complaining --- scanme/scanner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scanme/scanner.go b/scanme/scanner.go index 9bfe8cf..be57d91 100644 --- a/scanme/scanner.go +++ b/scanme/scanner.go @@ -124,8 +124,8 @@ func (s *scanner) sendARPRequest() (net.HardwareAddr, error) { parser := gopacket.NewDecodingLayerParser(layers.LayerTypeEthernet, ð, &arp) decoded := []gopacket.LayerType{} + //nolint:staticcheck // SA9003 ignore this! if err := parser.DecodeLayers(data, &decoded); err != nil { - // nolint:staticcheck // SA9003 ignore this! // This branch is intentionally left empty (SA9003). // Errors here are due to the decoder, and not all layers are implemented. // Uncomment the next line to print the error if needed.