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:
		
							parent
							
								
									9e02f15e59
								
							
						
					
					
						commit
						b47834fe0b
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
					@ -310,10 +310,15 @@ int main(int argc, char *argv[]) {
 | 
				
			||||||
					usage();
 | 
										usage();
 | 
				
			||||||
					exit(1);
 | 
										exit(1);
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
 | 
									/* following removed to allow experiments with
 | 
				
			||||||
 | 
									 * new devices, i.e. ippp
 | 
				
			||||||
 | 
									 */
 | 
				
			||||||
 | 
					#if 0
 | 
				
			||||||
				if (strncmp(argv[i+1], "ppp", 3)) {
 | 
									if (strncmp(argv[i+1], "ppp", 3)) {
 | 
				
			||||||
					usage();
 | 
										usage();
 | 
				
			||||||
					exit(1);
 | 
										exit(1);
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
				active_interface = argv[i+1];
 | 
									active_interface = argv[i+1];
 | 
				
			||||||
				i++;
 | 
									i++;
 | 
				
			||||||
				break;
 | 
									break;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue