mirror of https://github.com/hak5/openwrt.git
parent
858a46382e
commit
8ed3f8e05c
|
@ -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