From 8ea394ea9b07eee7069af9082214d1cf48d55e30 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Thu, 9 Mar 2017 16:13:19 +0100 Subject: 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 --- src/read_config_yy.y | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'src') 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 -- cgit v1.2.3