summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-03-08 10:38:23 +0100
committerJo-Philipp Wich <jo@mein.io>2021-03-08 19:18:58 +0100
commita92fae81c7a4a540eb6cbb1e2c38756eaab46097 (patch)
tree2ba1123b82c81932573e0842d22fcdd7c7eba33d /lib
parente8669a8902079b9485fbbf1fb8884b947de9bbfb (diff)
ubus: make error function available on the connection instance
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'lib')
-rw-r--r--lib/ubus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ubus.c b/lib/ubus.c
index b965bbe..47f22d3 100644
--- a/lib/ubus.c
+++ b/lib/ubus.c
@@ -297,6 +297,7 @@ static const uc_cfunction_list global_fns[] = {
static const uc_cfunction_list conn_fns[] = {
{ "list", uc_ubus_list },
{ "call", uc_ubus_call },
+ { "error", uc_ubus_error },
{ "disconnect", uc_ubus_disconnect },
};