mirror of
				https://github.com/xjasonlyu/tun2socks.git
				synced 2025-10-31 20:12:41 +08:00 
			
		
		
		
	Fix: tun issue with virtio_net_hdr (#254)
This commit is contained in:
		| @@ -1,8 +1,7 @@ | ||||
| //go:build unix | ||||
| //go:build unix && !linux | ||||
|  | ||||
| package tun | ||||
|  | ||||
| //nolint:all | ||||
| const ( | ||||
| 	offset     = 4 /* 4 bytes TUN_PI */ | ||||
| 	defaultMTU = 1500 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 xjasonlyu
					xjasonlyu