diff options
author | Thilo Bangert <bangert@gentoo.org> | 2008-10-01 11:08:01 +0000 |
---|---|---|
committer | Thilo Bangert <bangert@gentoo.org> | 2008-10-01 11:08:01 +0000 |
commit | 314966233519881eff4aae7c0518da2bf952d50f (patch) | |
tree | 8f0558b4e9b570060a61d9ee5cf02053b64cdf73 /net-firewall/ipkungfu/files | |
parent | version bump by Armando Di Cianno - bug #210734 (diff) | |
download | gentoo-2-314966233519881eff4aae7c0518da2bf952d50f.tar.gz gentoo-2-314966233519881eff4aae7c0518da2bf952d50f.tar.bz2 gentoo-2-314966233519881eff4aae7c0518da2bf952d50f.zip |
version bump - thanks Pinky - bug #184180
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-firewall/ipkungfu/files')
-rw-r--r-- | net-firewall/ipkungfu/files/ipkungfu_noiseless.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/net-firewall/ipkungfu/files/ipkungfu_noiseless.patch b/net-firewall/ipkungfu/files/ipkungfu_noiseless.patch new file mode 100644 index 000000000000..eed657f2dada --- /dev/null +++ b/net-firewall/ipkungfu/files/ipkungfu_noiseless.patch @@ -0,0 +1,24 @@ +diff -ru ipkungfu-0.6.1.orig/ipkungfu.in ipkungfu-0.6.1/ipkungfu.in +--- ipkungfu-0.6.1.orig/ipkungfu.in 2007-01-22 04:47:04.000000000 +0100 ++++ ipkungfu-0.6.1/ipkungfu.in 2007-07-04 12:49:23.000000000 +0200 +@@ -753,11 +753,15 @@ + fi + + function delTestChain { +-# {{{ Flush and delete test chains +- $IPTABLES -t filter -F SYSTEST +- $IPTABLES -t filter -X SYSTEST +- $IPTABLES -t mangle -F SYSTEST +- $IPTABLES -t mangle -X SYSTEST ++# {{{ Flush and delete test chains, if exist ++ if $IPTABLES -t filter -L SYSTEST > /dev/null 2>&1 ; then ++ $IPTABLES -t filter -F SYSTEST ++ $IPTABLES -t filter -X SYSTEST ++ fi ++ if $IPTABLES -t mangle -L SYSTEST > /dev/null 2>&1 ; then ++ $IPTABLES -t mangle -F SYSTEST ++ $IPTABLES -t mangle -X SYSTEST ++ fi + # }}} + } + |