mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-18 21:16:54 +02:00
MTU fix
This commit is contained in:
parent
4eb3b762d4
commit
126669b718
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue