summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/sstp/sstp.c
diff options
context:
space:
mode:
authorVladislav Grishenko <themiron@mail.ru>2018-04-19 22:34:56 +0500
committerVladislav Grishenko <themiron@mail.ru>2018-04-19 22:34:56 +0500
commit1dbc4c4ab811edc1321d502de18fa3f2f9b8dc1b (patch)
tree65bd41cf1c31bbd3efdf01f5b547b11112769737 /accel-pppd/ctrl/sstp/sstp.c
parent4cc0861dacaaa3bd735245ba20d7147ac2f4b87d (diff)
downloadaccel-ppp-1dbc4c4ab811edc1321d502de18fa3f2f9b8dc1b.tar.gz
accel-ppp-1dbc4c4ab811edc1321d502de18fa3f2f9b8dc1b.zip
sstp: fix connection drop with global mppe=required option
Diffstat (limited to 'accel-pppd/ctrl/sstp/sstp.c')
-rw-r--r--accel-pppd/ctrl/sstp/sstp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/sstp/sstp.c b/accel-pppd/ctrl/sstp/sstp.c
index 18bffdac..0206b69d 100644
--- a/accel-pppd/ctrl/sstp/sstp.c
+++ b/accel-pppd/ctrl/sstp/sstp.c
@@ -2195,7 +2195,7 @@ static int sstp_connect(struct triton_md_handler_t *h)
conn->ctrl.ppp = 1;
conn->ctrl.name = "sstp";
conn->ctrl.ifname = "";
- conn->ctrl.mppe = MPPE_UNSET;
+ conn->ctrl.mppe = MPPE_DENY;
conn->ctrl.calling_station_id = _strdup(addr_buf);
addr.len = sizeof(addr.u);