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@debian.org>.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=97509.
This commit is contained in:
Doug Torrance 2014-09-14 12:57:17 -05:00 committed by Carlos R. Mafra
parent 9e02f15e59
commit b47834fe0b

View file

@ -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;