From eadca9dd75dac9ddece04934222ed8cef74f7016 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 11 Nov 2020 15:29:01 -0500 Subject: [PATCH] Build fix. --- osdep/LinuxEthernetTap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osdep/LinuxEthernetTap.cpp b/osdep/LinuxEthernetTap.cpp index 5804745e3..275443bd4 100644 --- a/osdep/LinuxEthernetTap.cpp +++ b/osdep/LinuxEthernetTap.cpp @@ -440,7 +440,7 @@ void LinuxEthernetTap::threadMain() return; } - ifr.ifr_ifru.ifru_mtu = (int)mtu; + ifr.ifr_ifru.ifru_mtu = (int)_mtu; if (ioctl(sock,SIOCSIFMTU,(void *)&ifr) < 0) { ::close(sock); printf("WARNING: ioctl() failed setting up Linux tap device (set MTU)\n");