blob: bcf4d1164db02d7603b3f130c782f426cefd327a [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001Relax restrictions on the PPPoE src address, as per debian bug
2293811:
3
4 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=293811
5
6Upstream-Status: Inappropriate [Backport from Debian]
7
8--- rp-pppoe-3.8.orig/src/discovery.c
9+++ rp-pppoe-3.8/src/discovery.c
10@@ -376,8 +376,8 @@
11 if (!packetIsForMe(conn, &packet)) continue;
12
13 if (packet.code == CODE_PADO) {
14- if (NOT_UNICAST(packet.ethHdr.h_source)) {
15- printErr("Ignoring PADO packet from non-unicast MAC address");
16+ if (BROADCAST(packet.ethHdr.h_source)) {
17+ printErr("Ignoring broadcast PADO packet");
18 continue;
19 }
20 parsePacket(&packet, parsePADOTags, &pc);