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