projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
wireless: fix mcast_to_ucast handling, only apply it to AP mode
[project/netifd.git]
/
system-linux.c
diff --git
a/system-linux.c
b/system-linux.c
index
01500a5
..
f51c078
100644
(file)
--- a/
system-linux.c
+++ b/
system-linux.c
@@
-576,7
+576,7
@@
static char *system_get_bridge(const char *name, char *buf, int buflen)
static void
system_bridge_set_wireless(struct device *bridge, struct device *dev)
{
- bool mcast_to_ucast =
true
;
+ bool mcast_to_ucast =
dev->wireless_ap
;
bool hairpin = true;
if (bridge->settings.flags & DEV_OPT_MULTICAST_TO_UNICAST &&