Skip to content

Commit

Permalink
added some minor comment changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mosajjal committed Jun 13, 2021
1 parent d51673b commit 9690652
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/afpacket_nonlinux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// +build !linux

// This entire file is a dummy one to make sure all our cross platform builds work even if the underlying OS doesn't suppot some of the functionality
// afpacket is a Linux-only feature, so we want the relevant function to technically "translate" to something here, which basically returns an error

package main

import (
Expand Down
3 changes: 2 additions & 1 deletion src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import (

var releaseVersion string = "DEVELOPMENT"

// This is needed for supporting multiple inputs for Splunk output
type splunkOutputEndpointList []string

func (i *splunkOutputEndpointList) String() string {
Expand Down Expand Up @@ -101,7 +102,7 @@ var splunkBatchDelay = fs.Duration("splunkBatchDelay", 1*time.Second, "Interval

var version = fs.Bool("version", false, "show version and exit")

// Ratio numbers
// Ratio numbers used for input sampling
var ratioA int
var ratioB int

Expand Down

0 comments on commit 9690652

Please sign in to comment.