Skip to content

Commit e365b74

Browse files
committed
change udp packet size
1 parent ffce25e commit e365b74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/proto.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use crate::config::Opts;
66

77
pub const CONNECT: u8 = 0x01;
88
pub const UDP_ASSOCIATE: u8 = 0x03;
9-
pub const MAX_PACKET_SIZE: usize = 8193;
9+
pub const MAX_PACKET_SIZE: usize = 1450;
1010
pub const MAX_BUFFER_SIZE: usize = 1024 * 1024;
1111
const IPV4: u8 = 0x01;
1212
const DOMAIN: u8 = 0x03;

0 commit comments

Comments
 (0)