netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH conntrack 1/2] Revert "conntrack: fix expectation entry creation"
@ 2016-01-15 19:47 Asbjørn Sloth Tønnesen
  2016-01-15 19:47 ` [PATCH conntrack 2/2] conntrack: fix expectation entry creation Asbjørn Sloth Tønnesen
  2016-01-20 14:09 ` [PATCH conntrack 1/2] Revert "conntrack: fix expectation entry creation" Pablo Neira Ayuso
  0 siblings, 2 replies; 5+ messages in thread
From: Asbjørn Sloth Tønnesen @ 2016-01-15 19:47 UTC (permalink / raw)
  To: Pablo Neira Ayuso, pfeiffer.szilard; +Cc: netfilter-devel

{} is mask-src and mask-dst, [] is tuple-src and tuple-dst
mask-* should be stored in mask, tuple-* should be stored in exptuple.

This reverts commit 3309fdb4413cb32f9b95e05064dc9dbb56550939
since it mixed up {} and [].
---
 src/conntrack.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/conntrack.c b/src/conntrack.c
index 3ae4527..324daf4 100644
--- a/src/conntrack.c
+++ b/src/conntrack.c
@@ -2074,8 +2074,6 @@ int main(int argc, char *argv[])
 			break;
 		case '{':
 		case '}':
-			nfct_set_addr_from_opt(c, tmpl.exptuple, &ad, &family);
-			break;
 		case '[':
 		case ']':
 			nfct_set_addr_from_opt(c, tmpl.mask, &ad, &family);
-- 
2.6.4


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-01-20 22:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-15 19:47 [PATCH conntrack 1/2] Revert "conntrack: fix expectation entry creation" Asbjørn Sloth Tønnesen
2016-01-15 19:47 ` [PATCH conntrack 2/2] conntrack: fix expectation entry creation Asbjørn Sloth Tønnesen
2016-01-20 14:10   ` Pablo Neira Ayuso
2016-01-20 14:09 ` [PATCH conntrack 1/2] Revert "conntrack: fix expectation entry creation" Pablo Neira Ayuso
2016-01-20 20:30   ` Asbjørn Sloth Tønnesen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).