From 74e814a537f0849b54859fa82bf049ef80213236 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Mon, 28 Oct 2019 15:48:12 -0500 Subject: [PATCH] wired: Introduce EAD_BASE_PATH --- wired/dbus.h | 2 ++ wired/ethdev.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wired/dbus.h b/wired/dbus.h index 16c61c8f..55277e54 100644 --- a/wired/dbus.h +++ b/wired/dbus.h @@ -23,6 +23,8 @@ enum l_dbus_bus; struct l_dbus; +#define EAD_BASE_PATH "/net/connman/ead" + struct l_dbus *dbus_app_get(void); typedef void (*dbus_app_destroy_func_t) (void *user_data); diff --git a/wired/ethdev.c b/wired/ethdev.c index 5659df33..b5e23701 100644 --- a/wired/ethdev.c +++ b/wired/ethdev.c @@ -43,7 +43,7 @@ #include "wired/ethdev.h" #define ADAPTER_INTERFACE "net.connman.ead.Adapter" -#define ADAPTER_BASEPATH "/net/connman/ead/adapter" +#define ADAPTER_BASEPATH EAD_BASE_PATH "/adapter" #define PROP_NAME "Name" #define PROP_ADDRESS "Address"