diff mbox series

[LEDE-DEV] firewall3: Enable TCP_ECN by default.

Message ID 20171003062335.2495-1-rosenp@gmail.com
State Superseded
Delegated to: Mathias Kresin
Headers show
Series [LEDE-DEV] firewall3: Enable TCP_ECN by default. | expand

Commit Message

Rosen Penev Oct. 3, 2017, 6:23 a.m. UTC
This used to be the default back in 2008 and then reverted in 2009 when the setting was a boolean. Now that 2 is equivalent to 1 from that time, change it to 1. This also matches the default with many desktop Linux distributions.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
 defaults.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/defaults.c b/defaults.c
index 85a3750..3b6de28 100644
--- a/defaults.c
+++ b/defaults.c
@@ -90,6 +90,7 @@  fw3_load_defaults(struct fw3_state *state, struct uci_package *p)
 
 	defs->syn_flood_rate.rate  = 25;
 	defs->syn_flood_rate.burst = 50;
+	defs->tcp_ecn		   = 1;
 	defs->tcp_syncookies       = true;
 	defs->tcp_window_scaling   = true;
 	defs->custom_chains        = true;