diff options
author | Andre Heider <a.heider@gmail.com> | 2021-12-16 12:50:59 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-01-08 00:49:59 +0100 |
commit | 5ee1e045174bad1b7f2754bb022346acc60220f5 (patch) | |
tree | d95e741e4cee6bf998213a778f06bd49f8bc65d0 /package/network/config/ltq-vdsl-app/src | |
parent | a54b406ccb7b29a86e43e5535b86efede52157e6 (diff) | |
download | upstream-5ee1e045174bad1b7f2754bb022346acc60220f5.tar.gz upstream-5ee1e045174bad1b7f2754bb022346acc60220f5.tar.bz2 upstream-5ee1e045174bad1b7f2754bb022346acc60220f5.zip |
ltq-vdsl: move to the default device name /dev/dsl_cpe_api/0
This makes patching it for ltq-vdsl-app unnecessary and paves the way
for VRX518 support.
Signed-off-by: Andre Heider <a.heider@gmail.com>
Diffstat (limited to 'package/network/config/ltq-vdsl-app/src')
-rw-r--r-- | package/network/config/ltq-vdsl-app/src/src/dsl_cpe_ubus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/config/ltq-vdsl-app/src/src/dsl_cpe_ubus.c b/package/network/config/ltq-vdsl-app/src/src/dsl_cpe_ubus.c index 707acdc606..93eecaf71d 100644 --- a/package/network/config/ltq-vdsl-app/src/src/dsl_cpe_ubus.c +++ b/package/network/config/ltq-vdsl-app/src/src/dsl_cpe_ubus.c @@ -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 |