summaryrefslogtreecommitdiff
path: root/src/read_config_yy.y
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2007-05-24 11:32:53 +0000
committer/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2007-05-24 11:32:53 +0000
commitbc91f60fc288fe1fd0729f7bafe0596837c3e675 (patch)
tree5e36e8e4c64295ab5d9a30e8625358f2c6a876d7 /src/read_config_yy.y
parenteaae45fa65fdb559b5442dfe2da05a808c5c57ba (diff)
downloadconntrack-tools-bc91f60fc288fe1fd0729f7bafe0596837c3e675.tar.gz
conntrack-tools-bc91f60fc288fe1fd0729f7bafe0596837c3e675.zip
simplify checksum code: use UDP/multicast checksum facilities
Diffstat (limited to 'src/read_config_yy.y')
-rw-r--r--src/read_config_yy.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/read_config_yy.y b/src/read_config_yy.y
index 1668919..988b540 100644
--- a/src/read_config_yy.y
+++ b/src/read_config_yy.y
@@ -104,11 +104,12 @@ timeout: T_TIMEOUT T_NUMBER
checksum: T_CHECKSUM T_ON
{
+ conf.mcast.checksum = 0;
};
checksum: T_CHECKSUM T_OFF
{
- conf.flags |= DONT_CHECKSUM;
+ conf.mcast.checksum = 1;
};
ignore_traffic : T_IGNORE_TRAFFIC '{' ignore_traffic_options '}';