path: root/src/conntrack/setter.c
diff options
author/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/ </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/>2007-02-27 20:30:46 +0000
committer/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/ </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/>2007-02-27 20:30:46 +0000
commita232b3f2db15462f4dd8213c1bc34964c5957e7b (patch)
tree50e87eb60693b1bbd5eb55cec8e84c4b0d1373c3 /src/conntrack/setter.c
parent0e610525d877a67c2dd59118aa90e01fb83ce99e (diff)
- fix inconsistency in the behaviour of nfct_set_attr with ATTR_STATUS: now status flags bits of conntrack objects in userspace can be set and unset as it happens with other attributes.
- nfct_get_objopt with NAT detectors previously checks if the status attribute is set, otherwise it just skips it.
Diffstat (limited to 'src/conntrack/setter.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conntrack/setter.c b/src/conntrack/setter.c
index 7bc77b5..84b1d25 100644
--- a/src/conntrack/setter.c
+++ b/src/conntrack/setter.c
@@ -139,7 +139,7 @@ static void set_attr_mark(struct nf_conntrack *ct, const void *value)
static void set_attr_status(struct nf_conntrack *ct, const void *value)
- ct->status |= *((u_int32_t *) value);
+ ct->status = *((u_int32_t *) value);
set_attr set_attr_array[] = {