upgrade to the new version of wprobe - includes reconfigurable layer 2 statistics...
[openwrt/staging/florian.git] / package / wprobe / src / exporter / wprobe-export.c
index fa32e8b28835e795811ed65efb15c7e33dae2b8d..b09260692047b0128089dd199b0b4008c28eb9cd 100644 (file)
@@ -252,7 +252,7 @@ int main ( int argc, char **argv )
                return -1;
        }
 
-       dev = wprobe_get_dev(ifname);
+       dev = wprobe_get_auto(ifname);
        if (!dev || (list_empty(&dev->global_attr) && list_empty(&dev->link_attr))) {
                fprintf(stderr, "Cannot connect to wprobe on interface '%s'\n", ifname);
                return -1;