X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ade9f5b4bdd7e6a04fabcb2e9ffd406e4a7d1e54..56dae2ef2e802381c633c2b71ed6092ce590c2da:/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; }