We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0543b2 commit fd20b61Copy full SHA for fd20b61
src/loader/utils/config.c
@@ -808,7 +808,7 @@ int save_cfg(config__t* cfg, const char* file_path)
808
{
809
if (cfg->interfaces_cnt > 1)
810
811
- setting = config_setting_add(root, "interfaces", CONFIG_TYPE_LIST);
+ setting = config_setting_add(root, ", CONFIG_TYPE_LIST);
812
813
for (int i = 0; i < cfg->interfaces_cnt; i++)
814
@@ -829,7 +829,7 @@ int save_cfg(config__t* cfg, const char* file_path)
829
830
if (interface)
831
832
- setting = config_setting_add(root, "interfaces", CONFIG_TYPE_STRING);
+ setting = config_setting_add(root, "interface", CONFIG_TYPE_STRING);
833
config_setting_set_string(setting, interface);
834
}
835
0 commit comments