[packages/sstp-client] - one more ppp 2.5 fix
qboosh
qboosh at pld-linux.org
Sun Sep 22 11:39:46 CEST 2024
commit 79f00d5fec3685a426fa4f6e6f242f561b0b8aec
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Sep 22 11:42:45 2024 +0200
- one more ppp 2.5 fix
sstp-client-ppp.patch | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/sstp-client-ppp.patch b/sstp-client-ppp.patch
index f963874..de641fd 100644
--- a/sstp-client-ppp.patch
+++ b/sstp-client-ppp.patch
@@ -1,5 +1,5 @@
--- sstp-client-1.0.18/src/pppd-plugin/sstp-plugin.c.orig 2022-09-02 18:41:52.000000000 +0200
-+++ sstp-client-1.0.18/src/pppd-plugin/sstp-plugin.c 2024-09-22 10:13:25.121832771 +0200
++++ sstp-client-1.0.18/src/pppd-plugin/sstp-plugin.c 2024-09-22 11:18:57.294579165 +0200
@@ -36,7 +36,8 @@
#include <pppd/fsm.h>
#include <pppd/lcp.h>
@@ -28,8 +28,12 @@
dbglog("The mppe recv key (%d): %0.*B", key_len, key_len, key);
}
}
-@@ -259,13 +260,13 @@ void plugin_init(void)
- add_options(sstp_option);
+@@ -256,16 +257,16 @@ void plugin_init(void)
+ memset(&sstp_sock, 0, sizeof(sstp_sock));
+
+ /* Allow us to intercept options */
+- add_options(sstp_option);
++ ppp_add_options(sstp_option);
#ifdef USE_PPPD_AUTH_HOOK
- add_notifier(&auth_up_notifier, sstp_auth_done, NULL);
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/sstp-client.git/commitdiff/79f00d5fec3685a426fa4f6e6f242f561b0b8aec
More information about the pld-cvs-commit
mailing list