]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/plugins/pppoatm/pppoatm.c
Removing dead code per review by James Carlson
[ppp.git] / pppd / plugins / pppoatm / pppoatm.c
index e37d8b71efeee2fc4b10e68301b70e628af1511d..dc825084fe2aa2066f4cc4f76ce292990bfc5ae5 100644 (file)
  *  as published by the Free Software Foundation; either version
  *  2 of the License, or (at your option) any later version.
  */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <unistd.h>
 #include <string.h>
 #include <stdlib.h>
@@ -76,7 +80,7 @@ static int setdevname_pppoatm(const char *cp, const char **argv, int doit)
 
        memset(&addr, 0, sizeof addr);
        if (text2atm(cp, (struct sockaddr *) &addr, sizeof(addr),
-           T2A_PVC | T2A_NAME) < 0) {
+           T2A_PVC | T2A_NAME | T2A_WILDCARD) < 0) {
                if (doit)
                        info("cannot parse the ATM address: %s", cp);
                return 0;