Add ubsec ssb from Daniel Mueller <daniel@danm.de> (#2417)
[openwrt.git] / package / ppp / patches / 102-debian_pppoe_multicast_pado.patch
1 Index: ppp-2.4.3/pppd/plugins/rp-pppoe/discovery.c
2 ===================================================================
3 --- ppp-2.4.3.orig/pppd/plugins/rp-pppoe/discovery.c 2007-06-04 13:22:08.458569384 +0200
4 +++ ppp-2.4.3/pppd/plugins/rp-pppoe/discovery.c 2007-06-04 13:22:09.225452800 +0200
5 @@ -365,8 +365,8 @@
6 if (!packetIsForMe(conn, &packet)) continue;
7
8 if (packet.code == CODE_PADO) {
9 - if (NOT_UNICAST(packet.ethHdr.h_source)) {
10 - printErr("Ignoring PADO packet from non-unicast MAC address");
11 + if (BROADCAST(packet.ethHdr.h_source)) {
12 + printErr("Ignoring PADO packet from broadcast MAC address");
13 continue;
14 }
15 parsePacket(&packet, parsePADOTags, &pc);
This page took 0.045886 seconds and 5 git commands to generate.