From: Christian Grothoff Date: Tue, 7 Feb 2012 16:34:02 +0000 (+0000) Subject: -fix X-Git-Tag: initial-import-from-subversion-38251~14917 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7d974214075599fdf8b48940b764e8f9b41f9ae4;p=oweals%2Fgnunet.git -fix --- diff --git a/src/dns/gnunet-helper-dns.c b/src/dns/gnunet-helper-dns.c index 2b8ce2cc9..43d3954e4 100644 --- a/src/dns/gnunet-helper-dns.c +++ b/src/dns/gnunet-helper-dns.c @@ -823,7 +823,7 @@ main (int argc, char *const*argv) char *const mangle_args[] = { "iptables", "-m", "owner", "-t", "mangle", "-I", "OUTPUT", "1", "-p", - "udp", "!", "--gid-owner", mygid, "--dport", DNS_PORT, "-j", + "udp", "--gid-owner", mygid, "--dport", DNS_PORT, "-j", "ACCEPT", NULL }; if (0 != fork_and_exec (sbin_iptables, mangle_args)) @@ -938,7 +938,7 @@ main (int argc, char *const*argv) char *const mangle_clean_args[] = { "iptables", "-m", "owner", "-t", "mangle", "-D", "OUTPUT", "-p", "udp", - "!", "--gid-owner", mygid, "--dport", DNS_PORT, "-j", "ACCEPT", + "--gid-owner", mygid, "--dport", DNS_PORT, "-j", "ACCEPT", NULL }; if (0 != fork_and_exec (sbin_iptables, mangle_clean_args))