wprobe: fix interface selection. Thanks morpheus, Freifunk Aurich
authorAndy Boyett <agb@openwrt.org>
Sat, 26 Dec 2009 19:21:10 +0000 (19:21 +0000)
committerAndy Boyett <agb@openwrt.org>
Sat, 26 Dec 2009 19:21:10 +0000 (19:21 +0000)
SVN-Revision: 18946

package/wprobe/files/wprobe.init

index 26d5c3d31263784912836ec1bb15b8a72b46b305..b35246d42ed197cbad9e94a3a776221c543c80ed 100755 (executable)
@@ -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() {
@@ -30,7 +30,7 @@ start_proxy() {
 
 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