[Openvpn-devel] [PATCH 1/2] networking: add and implement net_addr_ll_set() API

2021-09-03 Thread Antonio Quartulli
When running in TAP mode we may need to set the LL address of the interface, if requested by the user. This operation was overlooked when implementing the networking API and it still relies on iproute/net-tools being installed. Basically this means that when compiling OpenVPN on a system without

[Openvpn-devel] [PATCH 2/2] set_lladdr: use networking API net_addr_ll_set() on Linux

2021-09-03 Thread Antonio Quartulli
Make sure that set_addr() uses the proper networking backend when setting the LL address of a TAP interface. This operation was overlooked while implementing the networking APIs on the Linux platform. Reported-by: Jan Hugo Prins Signed-off-by: Antonio Quartulli --- This patch (along with 1/2)