summaryrefslogtreecommitdiff
path: root/ubusmsg.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-02-07 01:52:40 +0100
committerFelix Fietkau <nbd@openwrt.org>2011-02-07 01:52:40 +0100
commitb0755698c1b686800c9de9e1c3d02026724d116e (patch)
treeac110298b09b6601eb262204fb9d9286428fcf17 /ubusmsg.h
parent2429653f908a9934b32c11d69e7adfc0d1a5ca67 (diff)
downloadubus-b0755698c1b686800c9de9e1c3d02026724d116e.tar.gz
fix max message length handling - exclude the header
Diffstat (limited to 'ubusmsg.h')
-rw-r--r--ubusmsg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubusmsg.h b/ubusmsg.h
index 116351d..a34b341 100644
--- a/ubusmsg.h
+++ b/ubusmsg.h
@@ -6,7 +6,7 @@
#define __packetdata __attribute__((packed)) __attribute__((__aligned__(4)))
-#define UBUS_MAX_MSGLEN 65535
+#define UBUS_MAX_MSGLEN 65536
#define UBUS_SYSTEM_OBJECT_EVENT 1
#define UBUS_SYSTEM_OBJECT_MAX 1024