Skip to content

Commit

Permalink
DROPMON extension appeared in kernel 5.4, not 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sflow committed Nov 28, 2022
1 parent 458295b commit f867f90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions hsflowd.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Summary: host sFlow daemon
Name: hsflowd
Version: 2.0.39
Release: 9
Version: 2.0.40
Release: 1
License: http://sflow.net/license.html
Group: Applications/Internet
URL: http://sflow.net
Expand Down
4 changes: 2 additions & 2 deletions src/Linux/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ endif

# learn kernel version
KVER=$(shell ./kernelVersion.sh)
KERNEL5PLUS=$(shell if test $(KVER) -gt 5000000; then echo "yes"; else echo "no"; fi)
KERNEL54PLUS=$(shell if test $(KVER) -ge 5004000; then echo "yes"; else echo "no"; fi)

HSFLOWD_CONF=scripts/hsflowd.conf
HSFLOWD_INITSCRIPT=scripts/hsflowd
Expand Down Expand Up @@ -47,7 +47,7 @@ FEATURES_EOS= EAPI
FEATURES_OS10= OS10 DBUS SYSTEMD
FEATURES_OPX= OPX DBUS SYSTEMD
FEATURES_SONIC= SONIC PSAMPLE DOCKER
ifeq ($(KERNEL5PLUS),yes)
ifeq ($(KERNEL54PLUS),yes)
FEATURES_SONIC += DROPMON
endif
FEATURES_XEN= XEN OVS
Expand Down

0 comments on commit f867f90

Please sign in to comment.