git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NETFILTER]: xt_string: fix negation
[safe/jmp/linux-2.6]
/
net
/
netfilter
/
xt_string.c
diff --git
a/net/netfilter/xt_string.c
b/net/netfilter/xt_string.c
index
d8e3891
..
275330f
100644
(file)
--- a/
net/netfilter/xt_string.c
+++ b/
net/netfilter/xt_string.c
@@
-37,7
+37,7
@@
static int match(const struct sk_buff *skb,
return (skb_find_text((struct sk_buff *)skb, conf->from_offset,
conf->to_offset, conf->config, &state)
- != UINT_MAX)
&& !
conf->invert;
+ != UINT_MAX)
^
conf->invert;
}
#define STRING_TEXT_PRIV(m) ((struct xt_string_info *) m)