X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/d2d52c35cddf4e44a269220b7a679e60d3f2764c..2d17b93d5618cc37b3e1a4eafbb62a95a17c339f:/package/wprobe/files/wprobe.init diff --git a/package/wprobe/files/wprobe.init b/package/wprobe/files/wprobe.init index 11a5bf6e1..b35246d42 100755 --- a/package/wprobe/files/wprobe.init +++ b/package/wprobe/files/wprobe.init @@ -1,6 +1,6 @@ #!/bin/sh /etc/rc.common START=90 -EXPORTER=/usr/sbin/wprobe-ipfix +EXPORTER=/sbin/wprobe-export UTIL=/sbin/wprobe-util wprobe_ssd() { @@ -25,12 +25,12 @@ config_wprobe() { start_proxy() { config_get port "$cfg" port - wprobe_ssd -S proxy "$UTIL" -P -p "${port:-19770}" + wprobe_ssd -S proxy "$UTIL" -P -p "${port:-17990}" } start_ipfix() { local cfg="$1" - config_get ifname "$cfg" interface + config_get ifname "$cfg" ifname config_get host "$cfg" host config_get port "$cfg" port config_get proto "$cfg" proto