ubus: increase ubus network interface dump timeout
[project/firewall3.git] / ubus.c
diff --git a/ubus.c b/ubus.c
index dd1075f211f7de24a621feb43b28c1c0784f56c1..bcbe1e828ea63fa8dbc18962b0aed469d2da9e98 100644 (file)
--- a/ubus.c
+++ b/ubus.c
@@ -51,7 +51,7 @@ fw3_ubus_connect(void)
        if (ubus_lookup_id(ctx, "network.interface", &id))
                goto out;
 
-       if (ubus_invoke(ctx, id, "dump", NULL, dump_cb, NULL, 500))
+       if (ubus_invoke(ctx, id, "dump", NULL, dump_cb, NULL, 2000))
                goto out;
 
        status = true;