Skip to content

Commit

Permalink
copy over function, hardware-trap and linux-reason elements for disca…
Browse files Browse the repository at this point in the history
…rd samples; bump version to 6.04
  • Loading branch information
sflow committed Mar 12, 2024
1 parent 4b18116 commit c42c49c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.57)
AC_INIT([sflowtool],[6.03])
AC_INIT([sflowtool],[6.04])
AC_CONFIG_SRCDIR([src/sflowtool.c])
AM_INIT_AUTOMAKE
AM_CONFIG_HEADER(config.h)
Expand Down
2 changes: 1 addition & 1 deletion sflowtool.spec
@@ -1,6 +1,6 @@
Summary: tool to ascii-print or forward sFlow datagrams
Name: sflowtool
Version: 6.03
Version: 6.04
Release: 1%{?dist}
License: https://www.inmon.com/technology/sflowlicense.txt
Group: Productivity/Networking/Diagnostic
Expand Down
4 changes: 4 additions & 0 deletions src/sflowtool.c
Expand Up @@ -3935,6 +3935,10 @@ static void readFlowSampleElements(SFSample *sample)
case SFLFLOW_EX_EGRESS_Q: readExtendedEgressQueue(sample); break;
case SFLFLOW_EX_TRANSIT: readExtendedTransitDelay(sample); break;
case SFLFLOW_EX_Q_DEPTH: readExtendedQueueDepth(sample); break;
/* In discard samples, any of the above may appear along with the following. */
case SFLFLOW_EX_FUNCTION: readExtendedFunction(sample); break;
case SFLFLOW_EX_HW_TRAP: readExtendedHardwareTrap(sample); break;
case SFLFLOW_EX_LINUX_REASON: readExtendedLinuxReason(sample); break;
default: skipTLVRecord(sample, tag, length, "flow_sample_element"); break;
}
lengthCheck(sample, "flow_sample_element", start, length);
Expand Down

0 comments on commit c42c49c

Please sign in to comment.