From 8002b8454f9e33042aec8b9ab6346f3a4dd92994 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 17 Dec 2013 17:58:45 +0000 Subject: [PATCH] Change set_default() to take value as integer, required for tcp_ecn > 1 --- defaults.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults.c b/defaults.c index 2cfb426..396cbf7 100644 --- a/defaults.c +++ b/defaults.c @@ -359,7 +359,7 @@ fw3_print_default_tail_rules(struct fw3_ipt_handle *handle, } static void -set_default(const char *name, bool set) +set_default(const char *name, int set) { FILE *f; char path[sizeof("/proc/sys/net/ipv4/tcp_window_scaling\0")]; -- 2.25.1