From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org>
Date: Wed, 6 Oct 2010 18:37:20 +0200
Subject: [PATCH] Disable CHECKSUM rule
not supported by Squeeze's iptables
Closes: #598330
---
src/util/iptables.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/util/iptables.c b/src/util/iptables.c
index 1b905bb..2200926 100644
--- a/src/util/iptables.c
+++ b/src/util/iptables.c
@@ -795,6 +795,7 @@ iptablesOutputFixUdpChecksum(iptablesContext *ctx,
int port,
int action)
{
+#if 0
char portstr[32];
snprintf(portstr, sizeof(portstr), "%d", port);
@@ -807,6 +808,9 @@ iptablesOutputFixUdpChecksum(iptablesContext *ctx,
"--destination-port", portstr,
"--jump", "CHECKSUM", "--checksum-fill",
NULL);
+#else
+ return 0;
+#endif
}
/**
--