set the default socket name to /var/run/ubus.sock

This commit is contained in:
Felix Fietkau 2011-02-06 18:50:37 +01:00
parent 7a56ab0411
commit 5fde74d12a

View file

@ -1,7 +1,7 @@
#ifndef __UBUS_COMMON_H #ifndef __UBUS_COMMON_H
#define __UBUS_COMMON_H #define __UBUS_COMMON_H
#define UBUS_UNIX_SOCKET "./ubus.sock" #define UBUS_UNIX_SOCKET "/var/run/ubus.sock"
#define UBUS_SIGNATURE_METHOD (BLOBMSG_TYPE_LAST + 1) #define UBUS_SIGNATURE_METHOD (BLOBMSG_TYPE_LAST + 1)
#define UBUS_SIGNATURE_END (BLOBMSG_TYPE_LAST + 2) #define UBUS_SIGNATURE_END (BLOBMSG_TYPE_LAST + 2)