let ipkg fail when a package file to be installed is not found
[openwrt.git] / openwrt / package / ppp / patches / 205-pppoe_iface_name.patch
index 522d587..0961eca 100644 (file)
@@ -6,7 +6,7 @@ diff -ruN ppp-2.4.3-orig/pppd/plugins/rp-pppoe/plugin.c ppp-2.4.3-3/pppd/plugins
        cmd += 4;
      } else if (strlen(cmd) < 4
 -             || (strncmp(cmd, "eth", 3) && strncmp(cmd, "nas", 3)
-+             || (strncmp(cmd, "eth", 3) && strncmp(cmd, "nas", 3) && strncmp(cmd, "vlan", 4)
++             || (strncmp(cmd, "eth", 3) && strncmp(cmd, "nas", 3) && strncmp(cmd, "vlan", 4) && strncmp(cmd, "ath", 3)
                   && strncmp(cmd, "tap", 3) && strncmp(cmd, "br", 2))) {
        return 0;
      }