[package] wprobe: fix interface selection. Thanks morpheus, Freifunk Aurich
authoragb <agb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 26 Dec 2009 19:21:10 +0000 (19:21 +0000)
committeragb <agb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 26 Dec 2009 19:21:10 +0000 (19:21 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18946 3c298f89-4303-0410-b956-a3cf2f4a3e73

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