Skip to content

Commit 5ca5988

Browse files
committed
fix: update VP_MAX_FRAME_LEN to 1514 to prevent UDP fragmentation
1 parent 3ed4c2c commit 5ca5988

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/vp_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ enum vp_pkt_type {
1515

1616
// Max VPN payload size (bytes)
1717
// Limited below full Ethernet MTU to avoid UDP fragmentation.
18-
#define VP_MAX_FRAME_LEN 1400
18+
#define VP_MAX_FRAME_LEN 1514
1919

2020
// Max number of connected clients
2121
#define VP_MAX_CLIENTS 1024

0 commit comments

Comments
 (0)