From 5fe98f70344e842faa28014be7ba259c2db7ae8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9=20=D0=9F=D1=80=D0=BE?= =?UTF-8?q?=D1=85=D0=BE=D1=80=D0=BE=D0=B2?= Date: Mon, 9 Sep 2013 04:38:52 +0400 Subject: [PATCH] noccp pppd option added. Thanks to Gordon Messmer https://bugzilla.redhat.com/show_bug.cgi?id=887674#c26 --- src/nm-l2tp-service.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/nm-l2tp-service.c b/src/nm-l2tp-service.c index 1cc605a..b19a44b 100644 --- a/src/nm-l2tp-service.c +++ b/src/nm-l2tp-service.c @@ -1246,6 +1246,10 @@ nm_l2tp_config_write (NML2tpPlugin *plugin, /* Don't need to auth the L2TP server */ write_config_option (pppopt_fd, "noauth\n"); + /* pppd and xl2tpd on Linux require this option to support Android and iOS clients, + and pppd on Linux clients won't work without the same option */ + write_config_option (pppopt_fd, "noccp\n"); + if (service_priv && strlen (service_priv->username)) { write_config_option (pppopt_fd, "name %s\n", service_priv->username); } -- 1.8.3.1