[Pkg-wmaker-commits] [wmppp.app] 51/120: wmppp.app: Allow ISDN devices.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Thu Aug 27 12:04:34 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmppp.app.
commit b4380cd44f0972eba1490fbf6a020d7a112f75c8
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Sun Sep 14 12:57:17 2014 -0500
wmppp.app: Allow ISDN devices.
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 <cespedes at debian.org>.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=97509.
---
wmppp/wmppp.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/wmppp/wmppp.c b/wmppp/wmppp.c
index 8415b7f..7287aa8 100644
--- a/wmppp/wmppp.c
+++ b/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;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmppp.app.git
More information about the Pkg-wmaker-commits
mailing list