summaryrefslogtreecommitdiff
path: root/package/ppp/patches/205-pppoe_iface_name.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/ppp/patches/205-pppoe_iface_name.patch')
-rw-r--r--package/ppp/patches/205-pppoe_iface_name.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/ppp/patches/205-pppoe_iface_name.patch b/package/ppp/patches/205-pppoe_iface_name.patch
index 522d5878a4..0961eca623 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;
}