sudo apt install libpcap-dev gcc
go mod tidy go build wlan2eth
Run the program like this:
./wlan2eth --dhcp-modify-src --eth [name of ethernet] --wlan [name of wireless interface]
--dhcp-modify-src will modify the client address in the DHCP packets.
--dhcp-modify-src