Commit ef63ca58 authored by Alexey Torkhov's avatar Alexey Torkhov

Add debug option for ppp.

parent eef91dc9
...@@ -958,6 +958,9 @@ nm_l2tp_config_write (NML2tpPlugin *plugin, ...@@ -958,6 +958,9 @@ nm_l2tp_config_write (NML2tpPlugin *plugin,
write_config_option (conf_fd, "autodial = yes\n"); write_config_option (conf_fd, "autodial = yes\n");
/* PPP options */ /* PPP options */
//if (getenv ("NM_PPP_DEBUG"))
write_config_option (pppopt_fd, "debug\n");
write_config_option (pppopt_fd, "ipparam nm-l2tp-service-%d\n", pid); write_config_option (pppopt_fd, "ipparam nm-l2tp-service-%d\n", pid);
write_config_option (pppopt_fd, "nodetach\n"); write_config_option (pppopt_fd, "nodetach\n");
......
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