diff options
author | Nicolas Thill <nico@openwrt.org> | 2005-05-18 18:05:44 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2005-05-18 18:05:44 +0000 |
commit | 36ae98c96ef1a2cfe7bb35765346bc91371e502a (patch) | |
tree | 3e390e67c01a7296de08f2c25cd57ee9a3916d4f /package/ppp/patches/ppp-2.4.3-pppoe-iface-name.patch | |
parent | 95ed1d57eecb349d2be7a5a539f95d937dcee159 (diff) | |
download | master-187ad058-36ae98c96ef1a2cfe7bb35765346bc91371e502a.tar.gz master-187ad058-36ae98c96ef1a2cfe7bb35765346bc91371e502a.tar.bz2 master-187ad058-36ae98c96ef1a2cfe7bb35765346bc91371e502a.zip |
Convert ppp to new packaging style, rename ppp-*-plugin to ppp-mod-*, enable chat package, split ppp patch into multiple patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@940 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ppp/patches/ppp-2.4.3-pppoe-iface-name.patch')
-rw-r--r-- | package/ppp/patches/ppp-2.4.3-pppoe-iface-name.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/ppp/patches/ppp-2.4.3-pppoe-iface-name.patch b/package/ppp/patches/ppp-2.4.3-pppoe-iface-name.patch new file mode 100644 index 0000000000..522d5878a4 --- /dev/null +++ b/package/ppp/patches/ppp-2.4.3-pppoe-iface-name.patch @@ -0,0 +1,12 @@ +diff -ruN ppp-2.4.3-orig/pppd/plugins/rp-pppoe/plugin.c ppp-2.4.3-3/pppd/plugins/rp-pppoe/plugin.c +--- ppp-2.4.3-orig/pppd/plugins/rp-pppoe/plugin.c 2004-11-04 11:07:37.000000000 +0100 ++++ ppp-2.4.3-3/pppd/plugins/rp-pppoe/plugin.c 2004-12-16 01:07:22.000000000 +0100 +@@ -286,7 +286,7 @@ + /* Strip off "nic-" */ + 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, "tap", 3) && strncmp(cmd, "br", 2))) { + return 0; + } |