X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/d2d52c35cddf4e44a269220b7a679e60d3f2764c..65ff2ee6a475b57d02b4475d11167a7f6891eb41:/package/wprobe/files/wprobe.init?ds=sidebyside 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