Users of ISDN dialup lines (such as me) cannot use wmppp as shipped,
because it rejects to use any device except those beginning with `ppp'.

The patch attached solves this.

Based on the patch by Juan Cespedes <[email protected]>.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=97509.
---
 wmppp.app/wmppp/wmppp.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/wmppp.app/wmppp/wmppp.c b/wmppp.app/wmppp/wmppp.c
index 8415b7f..7287aa8 100644
--- a/wmppp.app/wmppp/wmppp.c
+++ b/wmppp.app/wmppp/wmppp.c
@@ -310,10 +310,15 @@ int main(int argc, char *argv[]) {
                                        usage();
                                        exit(1);
                                }
+                               /* following removed to allow experiments with
+                                * new devices, i.e. ippp
+                                */
+#if 0
                                if (strncmp(argv[i+1], "ppp", 3)) {
                                        usage();
                                        exit(1);
                                }
+#endif
                                active_interface = argv[i+1];
                                i++;
                                break;
-- 
1.9.1


-- 
To unsubscribe, send mail to [email protected].

Reply via email to