summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2023-02-13 14:40:41 +0100
committerGitHub <noreply@github.com>2023-02-13 14:40:41 +0100
commitab2f3f70257d381e075b4ec58366578af861c2b0 (patch)
tree98b8bfbbda6d86fe0902c0335654f5680da254ab
parent837cffec5a5cb2222fee6fdb682b87977410267e (diff)
parent65b1f181e642a1d459d745a1a2f3d21d2d3cb8f7 (diff)
Merge pull request #143 from nbd168/rtnl-fix
rtnl: add missing uc_vm_registry_set call
-rw-r--r--lib/rtnl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rtnl.c b/lib/rtnl.c
index 26e7f56..b5afde4 100644
--- a/lib/rtnl.c
+++ b/lib/rtnl.c
@@ -4150,5 +4150,7 @@ void uc_module_init(uc_vm_t *vm, uc_value_t *scope)
listener_type = uc_type_declare(vm, "rtnl.listener", listener_fns, uc_nl_listener_free);
listener_registry = ucv_array_new(vm);
+ uc_vm_registry_set(vm, "rtnl.registry", listener_registry);
+
register_constants(vm, scope);
}