projects
/
oweals
/
firewall3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a25bb66
)
Treat option tcp_ecn as integer, not bool
author
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 17 Dec 2013 17:52:34 +0000
(17:52 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 17 Dec 2013 17:52:34 +0000
(17:52 +0000)
defaults.c
patch
|
blob
|
history
options.h
patch
|
blob
|
history
diff --git
a/defaults.c
b/defaults.c
index 07468873730b12e31a546a5fa7d3d306cffcfb35..2cfb426cda14f02c28c6c4b35cd51c2d46d7e066 100644
(file)
--- a/
defaults.c
+++ b/
defaults.c
@@
-58,7
+58,7
@@
const struct fw3_option fw3_flag_opts[] = {
FW3_OPT("synflood_burst", int, defaults, syn_flood_rate.burst),
FW3_OPT("tcp_syncookies", bool, defaults, tcp_syncookies),
- FW3_OPT("tcp_ecn",
bool,
defaults, tcp_ecn),
+ FW3_OPT("tcp_ecn",
int,
defaults, tcp_ecn),
FW3_OPT("tcp_window_scaling", bool, defaults, tcp_window_scaling),
FW3_OPT("accept_redirects", bool, defaults, accept_redirects),
diff --git
a/options.h
b/options.h
index 262a21b5385e22bf3a9eb2b5aadc47a5a5a0c2f2..07d57a4bc835c9686686ea0340ec4e094a980fdb 100644
(file)
--- a/
options.h
+++ b/
options.h
@@
-267,7
+267,7
@@
struct fw3_defaults
struct fw3_limit syn_flood_rate;
bool tcp_syncookies;
-
bool
tcp_ecn;
+
int
tcp_ecn;
bool tcp_window_scaling;
bool accept_redirects;