From 6a1078f8a0312629076dc48aa7de1854753a6596 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 8 Feb 2009 09:30:41 +0100 Subject: [PATCH] Fix reject accept Instead of accepting the listed nations, rejected the nation listed last, and accepted all the others. Broken in commit 6844c94b, v4.3.4. --- src/lib/common/nat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/common/nat.c b/src/lib/common/nat.c index 96d9c1ad..ab0613f1 100644 --- a/src/lib/common/nat.c +++ b/src/lib/common/nat.c @@ -139,7 +139,7 @@ putreject(struct natstr *np, natid them, int how, int what) if (how) np->nat_rejects[them] |= what; else - np->nat_rejects[them] &= what; + np->nat_rejects[them] &= ~what; } void