disable jpeg and xpm explicitly
[openwrt.git] / openwrt / package / ppp / patches / 102-debian_pppoe_multicast_pado.patch
1 diff -ruNp ppp-2.4.3.orig/pppd/plugins/rp-pppoe/discovery.c ppp-2.4.3/pppd/plugins/rp-pppoe/discovery.c
2 --- ppp-2.4.3.orig/pppd/plugins/rp-pppoe/discovery.c 2004-11-04 11:07:37.000000000 +0100
3 +++ ppp-2.4.3/pppd/plugins/rp-pppoe/discovery.c 2005-02-24 21:00:11.586697752 +0100
4 @@ -365,8 +365,8 @@ waitForPADO(PPPoEConnection *conn, int t
5 if (!packetIsForMe(conn, &packet)) continue;
6
7 if (packet.code == CODE_PADO) {
8 - if (NOT_UNICAST(packet.ethHdr.h_source)) {
9 - printErr("Ignoring PADO packet from non-unicast MAC address");
10 + if (BROADCAST(packet.ethHdr.h_source)) {
11 + printErr("Ignoring PADO packet from broadcast MAC address");
12 continue;
13 }
14 parsePacket(&packet, parsePADOTags, &pc);
This page took 0.051708 seconds and 5 git commands to generate.