Am 14.12.2024 um 12:02 schrieb Felix Fietkau:
On 14.12.24 11:47, e9hack wrote:
Hi,

it looks like that data.macaddr_base is always true even if no macaddr_base is 
set:

Which context does this happen in - hostapd, wpa_supplicant, wdev.uc or all of 
the above?

- Felix

The issue comes from iface.uc line no 183:

let pipe = fs.popen(`ucode /usr/share/hostap/wdev.uc ${phy} get_macaddr 
id=${mac_idx} num_global=${num_global_macaddr} mbssid=${data.mbssid ?? 0} 
macaddr_base=${macaddr_base}`);

It looks like that it isn't possible to send a null pointer through a pipe. 
Anything is converted to a string.

Regards,
Hartmut

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to