summaryrefslogtreecommitdiffstats
path: root/extensions/libct_proto_udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libct_proto_udp.c')
-rw-r--r--extensions/libct_proto_udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libct_proto_udp.c b/extensions/libct_proto_udp.c
index cb52c58..d74def5 100644
--- a/extensions/libct_proto_udp.c
+++ b/extensions/libct_proto_udp.c
@@ -165,7 +165,7 @@ static void final_check(unsigned int flags,
unsigned int cmd,
struct nf_conntrack *ct)
{
- if ((1 << cmd) & (CT_CREATE|CT_UPDATE|CT_DELETE|CT_GET) &&
+ if ((1 << cmd) & (CT_CREATE|CT_GET) &&
!((flags & UDP_ORIG_SPORT && flags & UDP_ORIG_DPORT) ||
(flags & UDP_REPL_SPORT && flags & UDP_REPL_DPORT)))
exit_error(PARAMETER_PROBLEM, "missing ports");