On 08/04/2020 23:37, Arne Schwabe wrote: > >> But it seems that on a Linux platform, the different #if, #elif and >> #endif statements lead to a situation where almost all code is excluded >> from compilation, and an empty string is returned at the end of the >> function. So in short, nothing seems to be done on the Linux side, and >> so the whole thing simply cannot work. >> >> Is my assumption right ? Any clues regarding this ? > > Yes. Mac address reporting on Linux has never been implemented. If you > look at hwaddr.hpp you see that there is no code for Linux.
Thanks Arne. So that explains it all. It had been implemented for openvpn 2, though, but the codebase seems very different. > IV_PLAT_VER needs to set by the UI, same as IV_GUI_VER. The UI can also > override the mac address that is being. This for example done on android > as implementation for the MAC address. Ok, nice trick. Still haven't figured out how to do it though. I traced it down to the parse_extras() function, but I'm having a hard time understanding how that config file parsing takes places. Thanks very much anyway! Best regards, Bruno _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel