diff options
Diffstat (limited to 'meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/pppoe-src-restrictions.patch')
-rw-r--r-- | meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/pppoe-src-restrictions.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/pppoe-src-restrictions.patch b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/pppoe-src-restrictions.patch new file mode 100644 index 000000000..bcf4d1164 --- /dev/null +++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/pppoe-src-restrictions.patch | |||
@@ -0,0 +1,20 @@ | |||
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); | ||