Skip to content

Commit

Permalink
config: fix no-auto-reauth wrong value.
Browse files Browse the repository at this point in the history
  • Loading branch information
ysc3839 authored and updateing committed Jan 13, 2019
1 parent 3bdba55 commit bf4f1b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ RESULT save_config_file() {
conf_parser_add_value("if-impl", get_if_impl()->name);
conf_parser_add_value("max-fail", my_itoa(g_prog_config.max_failures, itoa_buf, 10));
conf_parser_add_value("max-retries", my_itoa(g_prog_config.max_retries, itoa_buf, 10));
conf_parser_add_value("no-auto-reauth", g_prog_config.restart_on_logoff ? "1" : "0");
conf_parser_add_value("no-auto-reauth", g_prog_config.restart_on_logoff ? "0" : "1");
conf_parser_add_value("wait-after-fail", my_itoa(g_prog_config.wait_after_fail_secs, itoa_buf, 10));
conf_parser_add_value("stage-timeout", my_itoa(g_prog_config.stage_timeout, itoa_buf, 10));
conf_parser_add_value("proxy-lan-iface", g_proxy_config.lan_ifname);
Expand Down

0 comments on commit bf4f1b4

Please sign in to comment.