1 --- a/pppd/plugins/pppoatm/pppoatm.c
2 +++ b/pppd/plugins/pppoatm/pppoatm.c
3 @@ -75,13 +75,14 @@ static int setdevname_pppoatm(const char
4 //info("PPPoATM setdevname_pppoatm: '%s'", cp);
5 memset(&addr, 0, sizeof addr);
6 if (text2atm(cp, (struct sockaddr *) &addr, sizeof(addr),
7 - T2A_PVC | T2A_NAME) < 0) {
9 - info("atm does not recognize: %s", cp);
10 + T2A_PVC | T2A_NAME | T2A_WILDCARD) < 0) {
12 + info("cannot parse the ATM address: %s", cp);
15 - if (!doit) return 1;
16 - //if (!dev_set_ok()) return -1;
21 memcpy(&pvcaddr, &addr, sizeof pvcaddr);
22 strlcpy(devnam, cp, sizeof devnam);
23 devstat.st_mode = S_IFSOCK;
24 @@ -170,7 +171,7 @@ static void disconnect_pppoatm(void)
26 void plugin_init(void)
28 -#if defined(__linux__)
30 extern int new_style_driver; /* From sys-linux.c */
31 if (!ppp_available() && !new_style_driver)
32 fatal("Kernel doesn't support ppp_generic - "