English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

ViewVC logotype

Contents of /branches/freewrt_1_0/package/ppp/patches/205-pppoe_iface_name.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 744 - (show annotations) (download)
Thu Sep 28 10:42:55 2006 UTC (7 years, 4 months ago) by wbx
File size: 614 byte(s)
create stable branch, feature freeze, please send svn diff patches to wbx
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 }

root@freewrt.org:443
ViewVC Help
Powered by ViewVC 1.1.20