summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2017-03-09 16:13:19 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2017-03-09 16:14:22 +0100
commit8ea394ea9b07eee7069af9082214d1cf48d55e30 (patch)
tree975a39b1ef84d67e62d982c77e6f7e62304df732 /src
parentb61c4543cbdef8eb34ba1e59f617593180249738 (diff)
conntrackd: Remove obsolete rule to catch ambiguous Checksum option
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>
Diffstat (limited to 'src')
-rw-r--r--src/read_config_yy.y23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/read_config_yy.y b/src/read_config_yy.y
index 97f905d..2c08d4e 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