summaryrefslogtreecommitdiffhomepage
path: root/src/ubus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ubus.c')
-rw-r--r--src/ubus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ubus.c b/src/ubus.c
index 6fbb98f..95eeff7 100644
--- a/src/ubus.c
+++ b/src/ubus.c
@@ -390,7 +390,7 @@ bool ubus_has_prefix(const char *name, const char *ifname)
}
-int init_ubus(void)
+int ubus_init(void)
{
if (!(ubus = ubus_connect(NULL))) {
syslog(LOG_ERR, "Unable to connect to ubus: %s", strerror(errno));