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"