From bd70d005f2149b7e56e03e08324a2fe238c5b82c Mon Sep 17 00:00:00 2001 From: Sven Rebhan Date: Wed, 29 May 2024 23:55:50 +0200 Subject: [PATCH] Remove deprecated constants --- decoders/sflow/sflow.go | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/decoders/sflow/sflow.go b/decoders/sflow/sflow.go index 453e7b22..e5995b09 100644 --- a/decoders/sflow/sflow.go +++ b/decoders/sflow/sflow.go @@ -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 }