From: Jo-Philipp Wich Date: Tue, 17 Dec 2013 17:58:45 +0000 (+0000) Subject: Change set_default() to take value as integer, required for tcp_ecn > 1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8002b8454f9e33042aec8b9ab6346f3a4dd92994;p=oweals%2Ffirewall3.git Change set_default() to take value as integer, required for tcp_ecn > 1 --- 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")];