mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-17 20:51:57 +02:00
Upgrade rp-pppoe from 3.11 to 3.12. Signed-off-by: Dai Caiyun <daicy.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
21 lines
638 B
Diff
21 lines
638 B
Diff
Relax restrictions on the PPPoE src address, as per debian bug
|
|
293811:
|
|
|
|
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=293811
|
|
|
|
Upstream-Status: Inappropriate [Backport from Debian]
|
|
|
|
--- rp-pppoe-3.8.orig/src/discovery.c
|
|
+++ rp-pppoe-3.8/src/discovery.c
|
|
@@ -376,8 +376,8 @@
|
|
if (!packetIsForMe(conn, &packet)) continue;
|
|
|
|
if (packet.code == CODE_PADO) {
|
|
- if (NOT_UNICAST(packet.ethHdr.h_source)) {
|
|
- printErr("Ignoring PADO packet from non-unicast MAC address");
|
|
+ if (BROADCAST(packet.ethHdr.h_source)) {
|
|
+ printErr("Ignoring broadcast PADO packet");
|
|
continue;
|
|
}
|
|
parsePacket(&packet, parsePADOTags, &pc);
|