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 2cfb426cda14f02c28c6c4b35cd51c2d46d7e066..396cbf757356eb236fd5ff905c026890273560b5 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")];