add cpmac ipv6 patch from mache
[openwrt.git] / openwrt / package / ppp / patches / 205-pppoe_iface_name.patch
1 diff -ruN ppp-2.4.3-orig/pppd/plugins/rp-pppoe/plugin.c ppp-2.4.3-3/pppd/plugins/rp-pppoe/plugin.c
2 --- ppp-2.4.3-orig/pppd/plugins/rp-pppoe/plugin.c 2004-11-04 11:07:37.000000000 +0100
3 +++ ppp-2.4.3-3/pppd/plugins/rp-pppoe/plugin.c 2004-12-16 01:07:22.000000000 +0100
4 @@ -286,7 +286,7 @@
5 /* Strip off "nic-" */
6 cmd += 4;
7 } else if (strlen(cmd) < 4
8 - || (strncmp(cmd, "eth", 3) && strncmp(cmd, "nas", 3)
9 + || (strncmp(cmd, "eth", 3) && strncmp(cmd, "nas", 3) && strncmp(cmd, "vlan", 4) && strncmp(cmd, "ath", 3)
10 && strncmp(cmd, "tap", 3) && strncmp(cmd, "br", 2))) {
11 return 0;
12 }
This page took 0.041424 seconds and 5 git commands to generate.