ltq-vdsl: move to the default device name /dev/dsl_cpe_api/0
[openwrt/staging/stintel.git] / package / network / config / ltq-vdsl-app / src / src / dsl_cpe_ubus.c
index 707acdc60662c0560fec5d75f1dbfe3a5b6334c6..93eecaf71d2ff1bb2b2dcec4dbaf2477dc1ea5bc 100644 (file)
@@ -735,7 +735,7 @@ static int metrics(struct ubus_context *ctx, struct ubus_object *obj,
        vector_t vector = VECTOR_UNKNOWN;
 
 #ifndef INCLUDE_DSL_CPE_API_DANUBE
-       fd = open(DSL_CPE_DEVICE_NAME "0", O_RDWR, 0644);
+       fd = open(DSL_CPE_DEVICE_NAME "/0", O_RDWR, 0644);
 #else
        fd = open(DSL_CPE_DEVICE_NAME, O_RDWR, 0644);
 #endif