X-Git-Url: http://git.openwrt.org/openwrt/feeds.git?a=blobdiff_plain;f=main.c;h=801d2f2a7ff44a4973d13d63778a4890cb796ccb;hb=713258fb9a466204040f137586ffdfc2a1290332;hp=e2886ded34ae7986cc8ab991c3f402f08efa688e;hpb=4e8f1fa4ca2b176500362843a9e57ea5abd4b7a3;p=project%2Frelayd.git diff --git a/main.c b/main.c index e2886de..801d2f2 100644 --- a/main.c +++ b/main.c @@ -586,7 +586,7 @@ static int init_interface(struct relayd_interface *rif) } #ifdef PACKET_RECV_TYPE - pkt_type = (1 << PACKET_BROADCAST); + pkt_type = (1 << PACKET_BROADCAST) | (1 << PACKET_MULTICAST); setsockopt(fd, SOL_PACKET, PACKET_RECV_TYPE, &pkt_type, sizeof(pkt_type)); #endif