netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH conntrackd 1/2] conntrackd: Remove obsolete rule to catch ambiguous Checksum option
@ 2017-03-10  9:41 Pablo Neira Ayuso
  2017-03-10  9:41 ` [PATCH conntrackd 2/2] conntrackd: CommitTimeout breaks DisableExternalCache set On Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Pablo Neira Ayuso @ 2017-03-10  9:41 UTC (permalink / raw)
  To: netfilter-devel

This warning has been there for long time, and the example files we
provide already come with the right syntax, so remove this old chunk.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
---
 src/read_config_yy.y | 23 -----------------------
 1 file changed, 23 deletions(-)

diff --git a/src/read_config_yy.y b/src/read_config_yy.y
index 97f905d13091..2c08d4e5b1b3 100644
--- a/src/read_config_yy.y
+++ b/src/read_config_yy.y
@@ -185,28 +185,6 @@ purge: T_PURGE T_NUMBER
 	conf.purge_timeout = $2;
 };
 
-checksum: T_CHECKSUM T_ON 
-{
-	dlog(LOG_WARNING, "the use of `Checksum' outside the "
-	     "`Multicast' clause is ambiguous");
-	/* 
-	 * XXX: The use of Checksum outside of the Multicast clause is broken
-	 *	if we have more than one dedicated links.
-	 */
-	conf.channel[0].u.mcast.checksum = 0;
-};
-
-checksum: T_CHECKSUM T_OFF
-{
-	dlog(LOG_WARNING, "the use of `Checksum' outside the "
-	     "`Multicast' clause is ambiguous");
-	/*
-	 * XXX: The use of Checksum outside of the Multicast clause is broken
-	 *	if we have more than one dedicated links.
-	 */
-	conf.channel[0].u.mcast.checksum = 1;
-};
-
 multicast_line : T_MULTICAST '{' multicast_options '}'
 {
 	if (conf.channel_type_global != CHANNEL_NONE &&
@@ -693,7 +671,6 @@ sync_line: refreshtime
 	 | expiretime
 	 | timeout
 	 | purge
-	 | checksum
 	 | multicast_line
 	 | udp_line
 	 | tcp_line
-- 
2.1.4


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

end of thread, other threads:[~2017-03-10  9:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-10  9:41 [PATCH conntrackd 1/2] conntrackd: Remove obsolete rule to catch ambiguous Checksum option Pablo Neira Ayuso
2017-03-10  9:41 ` [PATCH conntrackd 2/2] conntrackd: CommitTimeout breaks DisableExternalCache set On Pablo Neira Ayuso

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).