mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-10 16:32:29 +02:00
add support for pppoe over atheros wlan
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1702 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
1544712c74
commit
41ace9efaf
@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=ppp
|
||||
PKG_VERSION:=2.4.3
|
||||
PKG_RELEASE:=5
|
||||
PKG_RELEASE:=6
|
||||
PKG_MD5SUM:=848f6c3cafeb6074ffeb293c3af79b7c
|
||||
|
||||
PKG_SOURCE_URL:=ftp://ftp.samba.org/pub/ppp/
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user