Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | Relax restrictions on the PPPoE src address, as per debian bug |
| 2 | 293811: |
| 3 | |
| 4 | http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=293811 |
| 5 | |
| 6 | Upstream-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); |