mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-22 02:35:25 +00:00
2008-04-16 Dan Williams <dcbw@redhat.com>
Patch from 陈鑫 <znscnchen@gmail.com> * src/ppp-manager/nm-ppp-manager.c - (create_pppd_cmd_line): fix argument generation when spawning pppd git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3568 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
217cccd22a
commit
d095a32ee2
|
@ -1,3 +1,10 @@
|
|||
2008-04-16 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
Patch from 陈鑫 <znscnchen@gmail.com>
|
||||
|
||||
* src/ppp-manager/nm-ppp-manager.c
|
||||
- (create_pppd_cmd_line): fix argument generation when spawning pppd
|
||||
|
||||
2008-04-16 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
Patch from 陈鑫 <znscnchen@gmail.com>
|
||||
|
|
|
@ -525,23 +525,23 @@ create_pppd_cmd_line (NMSettingPPP *setting,
|
|||
|
||||
if (setting->noauth)
|
||||
nm_cmd_line_add_string (cmd, "noauth");
|
||||
if (setting->noauth)
|
||||
nm_cmd_line_add_string (cmd, "refuse-eap");
|
||||
if (setting->refuse_eap)
|
||||
nm_cmd_line_add_string (cmd, "refuse-chap");
|
||||
nm_cmd_line_add_string (cmd, "refuse-eap");
|
||||
if (setting->refuse_chap)
|
||||
nm_cmd_line_add_string (cmd, "refuse-mschap");
|
||||
nm_cmd_line_add_string (cmd, "refuse-chap");
|
||||
if (setting->refuse_mschap)
|
||||
nm_cmd_line_add_string (cmd, "nobsdcomp");
|
||||
nm_cmd_line_add_string (cmd, "refuse-mschap");
|
||||
if (setting->nobsdcomp)
|
||||
nm_cmd_line_add_string (cmd, "nodeflate");
|
||||
nm_cmd_line_add_string (cmd, "nobsdcomp");
|
||||
if (setting->nodeflate)
|
||||
nm_cmd_line_add_string (cmd, "require-mppe");
|
||||
nm_cmd_line_add_string (cmd, "nodeflate");
|
||||
if (setting->require_mppe)
|
||||
nm_cmd_line_add_string (cmd, "require-mppe-128");
|
||||
nm_cmd_line_add_string (cmd, "require-mppe");
|
||||
if (setting->require_mppe_128)
|
||||
nm_cmd_line_add_string (cmd, "mppe-stateful");
|
||||
nm_cmd_line_add_string (cmd, "require-mppe-128");
|
||||
if (setting->mppe_stateful)
|
||||
nm_cmd_line_add_string (cmd, "mppe-stateful");
|
||||
if (setting->require_mppc)
|
||||
nm_cmd_line_add_string (cmd, "require-mppc");
|
||||
if (setting->crtscts)
|
||||
nm_cmd_line_add_string (cmd, "crtscts");
|
||||
|
|
Loading…
Reference in a new issue