Change set_default() to take value as integer, required for tcp_ecn > 1
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 17 Dec 2013 17:58:45 +0000 (17:58 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 17 Dec 2013 17:58:45 +0000 (17:58 +0000)
defaults.c

index 2cfb426..396cbf7 100644 (file)
@@ -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")];