From 713258fb9a466204040f137586ffdfc2a1290332 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 13 Jun 2014 12:09:04 +0200 Subject: [PATCH] relay multicast packets along with broadcast packets Signed-off-by: Felix Fietkau --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1