Commit de065e40 authored by Alexey Torkhov's avatar Alexey Torkhov

Not using [lac default] in xl2tpd config as it were leading to running as server.

parent dd4c8d49
......@@ -937,7 +937,7 @@ nm_l2tp_config_write (NML2tpPlugin *plugin,
write_config_option (conf_fd, "[global]\n");
write_config_option (conf_fd, "access control = yes\n");
write_config_option (conf_fd, "[lac default]\n");
write_config_option (conf_fd, "[lac l2tp]\n");
value = nm_setting_vpn_get_data_item (s_vpn, NM_L2TP_KEY_GATEWAY);
write_config_option (conf_fd, "lns = %s\n", value);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment