fix function call

This commit is contained in:
Grant Limberg 2022-02-07 17:14:43 -08:00
parent fdf4ebd43c
commit 5d63ed6739
No known key found for this signature in database
GPG Key ID: 8F2F97D3BE8D7735

View File

@ -265,7 +265,7 @@ LinuxEthernetTap::LinuxEthernetTap(
usleep(100000);
if (!isLinuxV2OrLess()) {
if (!isOldLinuxKernel()) {
ifr.ifr_ifru.ifru_hwaddr.sa_family = ARPHRD_ETHER;
_mac.copyTo(ifr.ifr_ifru.ifru_hwaddr.sa_data,6);
if (ioctl(sock,SIOCSIFHWADDR,(void *)&ifr) < 0) {