projects
/
project
/
relayd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
relay multicast packets along with broadcast packets
[project/relayd.git]
/
main.c
diff --git
a/main.c
b/main.c
index
e2886de
..
801d2f2
100644
(file)
--- 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