summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl
diff options
context:
space:
mode:
authorxebd <xeb@mail.ru>2022-11-01 16:20:36 +0300
committerGitHub <noreply@github.com>2022-11-01 16:20:36 +0300
commita6aa7c279d2713c6723731029092199713d21257 (patch)
treed3a00c4926246b49cb0dc86300b936ebed849254 /accel-pppd/ctrl
parentadfc132b96a4fbfb3a10f49e04e15c6669abf11d (diff)
parentad94c19554d7c6bb18ab2e251e4ee403ee0b7732 (diff)
downloadaccel-ppp-a6aa7c279d2713c6723731029092199713d21257.tar.gz
accel-ppp-a6aa7c279d2713c6723731029092199713d21257.zip
Merge pull request #66 from boomer41/feature/additions-2022-11-01
Use 64-bit interface statistics and some more env parameters for pppd-compat
Diffstat (limited to 'accel-pppd/ctrl')
-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 a97f4ec5..188cada1 100644
--- a/accel-pppd/ctrl/sstp/sstp.c
+++ b/accel-pppd/ctrl/sstp/sstp.c
@@ -981,7 +981,7 @@ static int ppp_allocate_pty(int *master, int *slave, int flags)
struct termios tios;
int value, mfd, sfd;
- if (openpty(&mfd, &sfd, NULL, &tios, NULL) < 0) {
+ if (openpty(&mfd, &sfd, NULL, NULL, NULL) < 0) {
log_ppp_error("sstp: allocate pty: %s\n", strerror(errno));
return -1;
}