set the default socket name to /var/run/ubus.sock
authorFelix Fietkau <nbd@openwrt.org>
Sun, 6 Feb 2011 17:50:37 +0000 (18:50 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 6 Feb 2011 17:50:37 +0000 (18:50 +0100)
ubus_common.h

index e002b27..99a7077 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef __UBUS_COMMON_H
 #define __UBUS_COMMON_H
 
 #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)
 
 #define UBUS_SIGNATURE_METHOD  (BLOBMSG_TYPE_LAST + 1)
 #define UBUS_SIGNATURE_END             (BLOBMSG_TYPE_LAST + 2)