Skip to content

Commit

Permalink
Remove deprecated constants
Browse files Browse the repository at this point in the history
  • Loading branch information
srebhan committed May 29, 2024
1 parent cbea0d6 commit bd70d00
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions decoders/sflow/sflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,6 @@ const (
COUNTER_TYPE_CPU = 1001
)

// Deprecated: These definitions are mixing sample-format, flow-data type and
// counter-data type definitions and are left here for compatibility only.
//
// Use the sample-format or flow/counter type definitions instead!
const (
FORMAT_EXT_SWITCH = 1001
FORMAT_EXT_ROUTER = 1002
FORMAT_EXT_GATEWAY = 1003
FORMAT_RAW_PKT = 1
FORMAT_ETH = 2
FORMAT_IPV4 = 3
FORMAT_IPV6 = 4
)

type DecoderError struct {
Err error
}
Expand Down

0 comments on commit bd70d00

Please sign in to comment.