Skip to content

Commit

Permalink
xdp-synproxy: increase MAX port
Browse files Browse the repository at this point in the history
increase max port number from 8 to 24

Signed-off-by: Vincent Li <[email protected]>
  • Loading branch information
vincentmli committed Nov 26, 2024
1 parent 72cd8df commit f877bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xdp-synproxy/xdp_synproxy.bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
#define DEFAULT_MSS6 1440
#define DEFAULT_WSCALE 0
#define DEFAULT_TTL 64
#define MAX_ALLOWED_PORTS 8
#define MAX_ALLOWED_PORTS 24

#define MAX_PACKET_OFF 0xffff

Expand Down

0 comments on commit f877bd1

Please sign in to comment.