summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2021-10-28 17:36:06 +0200
committerFlorian Westphal <fw@strlen.de>2021-11-08 12:01:08 +0100
commit1987a7acf99458d1d0e49939b5acbb2d7711f900 (patch)
tree3926b72a4f8188c5c9f4b755205e437aea1a63f0 /src
parent11e626661ded22880721ff54fbe7647166fc31bd (diff)
doc: update ct timeout section with the state names
docs are too terse and did not have the list of valid timeout states. While at it, adjust default stream timeout of udp to 120, this is the current kernel default. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src')
-rw-r--r--src/rule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rule.c b/src/rule.c
index c7bc6bcf..b1700c40 100644
--- a/src/rule.c
+++ b/src/rule.c
@@ -72,7 +72,7 @@ static uint32_t tcp_dflt_timeout[] = {
static uint32_t udp_dflt_timeout[] = {
[NFTNL_CTTIMEOUT_UDP_UNREPLIED] = 30,
- [NFTNL_CTTIMEOUT_UDP_REPLIED] = 180,
+ [NFTNL_CTTIMEOUT_UDP_REPLIED] = 120,
};
struct timeout_protocol timeout_protocol[IPPROTO_MAX] = {