initscripts-shr: remove devtmpfs initscript for palmpre machine
[openembedded.git] / recipes / rp-pppoe / rp-pppoe-3.8 / pppoe-src-restrictions.patch
blobe7e1c2ee36a356a7921a1e788e1cb870b93d223c
1 Relax restrictions on the PPPoE src address, as per debian bug
2 293811:
4 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=293811
6 --- rp-pppoe-3.8.orig/src/discovery.c
7 +++ rp-pppoe-3.8/src/discovery.c
8 @@ -376,8 +376,8 @@
9 if (!packetIsForMe(conn, &packet)) continue;
11 if (packet.code == CODE_PADO) {
12 - if (NOT_UNICAST(packet.ethHdr.h_source)) {
13 - printErr("Ignoring PADO packet from non-unicast MAC address");
14 + if (BROADCAST(packet.ethHdr.h_source)) {
15 + printErr("Ignoring broadcast PADO packet");
16 continue;
18 parsePacket(&packet, parsePADOTags, &pc);