mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
add support for pppoe over atheros wlan
SVN-Revision: 1702
This commit is contained in:
parent
858a46382e
commit
8ed3f8e05c
@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=ppp
|
PKG_NAME:=ppp
|
||||||
PKG_VERSION:=2.4.3
|
PKG_VERSION:=2.4.3
|
||||||
PKG_RELEASE:=5
|
PKG_RELEASE:=6
|
||||||
PKG_MD5SUM:=848f6c3cafeb6074ffeb293c3af79b7c
|
PKG_MD5SUM:=848f6c3cafeb6074ffeb293c3af79b7c
|
||||||
|
|
||||||
PKG_SOURCE_URL:=ftp://ftp.samba.org/pub/ppp/
|
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;
|
cmd += 4;
|
||||||
} else if (strlen(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, "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))) {
|
&& strncmp(cmd, "tap", 3) && strncmp(cmd, "br", 2))) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user