aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/rp-pppoe/rp-pppoe-3.8/pppoe-src-restrictions.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/rp-pppoe/rp-pppoe-3.8/pppoe-src-restrictions.patch')
-rw-r--r--recipes/rp-pppoe/rp-pppoe-3.8/pppoe-src-restrictions.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes/rp-pppoe/rp-pppoe-3.8/pppoe-src-restrictions.patch b/recipes/rp-pppoe/rp-pppoe-3.8/pppoe-src-restrictions.patch
new file mode 100644
index 0000000000..e7e1c2ee36
--- /dev/null
+++ b/recipes/rp-pppoe/rp-pppoe-3.8/pppoe-src-restrictions.patch
@@ -0,0 +1,18 @@
+Relax restrictions on the PPPoE src address, as per debian bug
+293811:
+
+ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=293811
+
+--- 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);