From 126669b718ab35a1ab5501b71ea87fec598360fb Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Fri, 13 Aug 2021 15:12:07 -0400 Subject: [PATCH] MTU fix --- osdep/MacEthernetTapAgent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osdep/MacEthernetTapAgent.c b/osdep/MacEthernetTapAgent.c index cb37c78b1..80339a9e1 100644 --- a/osdep/MacEthernetTapAgent.c +++ b/osdep/MacEthernetTapAgent.c @@ -258,7 +258,7 @@ int main(int argc,char **argv) usleep(10); run(P_IFCONFIG,s_peerDeviceName,"peer",s_deviceName,(char *)0); usleep(10); - run(P_IFCONFIG,s_peerDeviceName,"mtu","16370","up",(char *)0); /* 16370 is the largest MTU MacOS/Darwin seems to allow */ + run(P_IFCONFIG,s_peerDeviceName,"mtu",mtu,"up",(char *)0); usleep(10); run(P_IFCONFIG,s_deviceName,"mtu",mtu,"metric",metric,"up",(char *)0); usleep(10);