mirror of https://github.com/openwrt/packages.git
Merge pull request #23832 from chommik/softflowd_add_b_option
softflowd: add '-b' option to configpull/23900/head
commit
eb53418b7f
|
@ -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)?
|
||||
|
|
|
@ -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 ''
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue