diff options
author | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-02-07 16:34:02 +0000 |
---|---|---|
committer | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-02-07 16:34:02 +0000 |
commit | c58f80ae504111bda8b9148e3a8d8a712ae69e99 (patch) | |
tree | ca40f6c8dfb2602edaf48afa8ccba92810d6fb69 /src/dns | |
parent | 16dba26b3401c8cea22fe062c25bbb800b32cf7e (diff) |
-fix
git-svn-id: https://gnunet.org/svn/gnunet@19724 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/dns')
-rw-r--r-- | src/dns/gnunet-helper-dns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dns/gnunet-helper-dns.c b/src/dns/gnunet-helper-dns.c index 2b8ce2cc94..43d3954e44 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)) |