softflowd: add '-b' option to config 23832/head
authorRafal Macyszyn <rafal@v92.pl>
Mon, 1 Apr 2024 18:50:49 +0000 (20:50 +0200)
committerRafal Macyszyn <chommik12@gmail.com>
Thu, 11 Apr 2024 19:54:28 +0000 (21:54 +0200)
- add '-b' option to enable bidirectional flow probing

Signed-off-by: Rafal Macyszyn <rafal@v92.pl>
net/softflowd/Makefile
net/softflowd/files/softflowd.config
net/softflowd/files/softflowd.init

index 2a133b604a3e3e63426cca3fc6f10d811e6fa18b..7b4dfc10b87e5a649de7e08a3de7e4481afa30e5 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=softflowd
 PKG_VERSION:=1.1.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/irino/softflowd/tar.gz/softflowd-v$(PKG_VERSION)?
index 87dbf1369a1e5cb7f4c17ca0dc7696c46d1bcce1..ee0634634bbd1e49439810b927a0452deb5220ac 100644 (file)
@@ -11,5 +11,6 @@ config softflowd
        option hoplimit       ''
        option tracking_level 'full'
        option track_ipv6     '0'
+       option bidirectional  '0'
        option sampling_rate  '100'
        option filter         ''
index 1fdd9ae30303482a0e0eb6abf985721e8f9044f8..5becd451468d6e8f2184cacde024da8ef41a28dd 100755 (executable)
@@ -44,6 +44,7 @@ start_instance() {
        append_string "$section" 'tracking_level' '-T'
        append_string "$section" 'sampling_rate' '-s'
        append_bool "$section" track_ipv6 '-6'
+       append_bool "$section" bidirectional '-b'
 
        procd_open_instance
        procd_set_param command /usr/sbin/softflowd -d $args${pid_file:+ -p $pid_file} "$filter"