Skip to content

Commit

Permalink
fixing lint complaining
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberRoute committed Jan 12, 2024
1 parent dae08a3 commit 6d1603b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scanme/scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ func (s *scanner) sendARPRequest() (net.HardwareAddr, error) {

parser := gopacket.NewDecodingLayerParser(layers.LayerTypeEthernet, &eth, &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.
Expand Down

0 comments on commit 6d1603b

Please sign in to comment.