handle_link() passed the option as a ucode boolean, but the netifd
device_set binding reads it with prop_get_int (UC_INTEGER only) and ignored
a boolean, so the option was a no-op. Convert it to 0/1.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
};
if (ap && config.multicast_to_unicast != null)
- dev_data.multicast_to_unicast = config.multicast_to_unicast;
+ dev_data.multicast_to_unicast = config.multicast_to_unicast ? 1 : 0;
if (data.type == "vif" && config.mode == "ap") {
dev_data.wireless_proxyarp = !!config.proxy_arp;