X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/ade9f5b4bdd7e6a04fabcb2e9ffd406e4a7d1e54..2cb5343fc18be5153b476147c0f3fd142cb36cba:/package/ppp/patches/205-pppoe_iface_name.patch diff --git a/package/ppp/patches/205-pppoe_iface_name.patch b/package/ppp/patches/205-pppoe_iface_name.patch index 522d5878a..0961eca62 100644 --- a/package/ppp/patches/205-pppoe_iface_name.patch +++ b/package/ppp/patches/205-pppoe_iface_name.patch @@ -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; }