libubus: add an inline function for socket event handling
[project/ubus.git] / ubus_common.h
index e002b27..99a7077 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef __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_END             (BLOBMSG_TYPE_LAST + 2)