]> git.pond.sub.org Git - empserver/blobdiff - src/lib/common/nat.c
Fix reject accept
[empserver] / src / lib / common / nat.c
index 96d9c1ad558dff6f10154ed385bc6e9532ce2b0f..ab0613f1c385b1870227a271b30955251b798777 100644 (file)
@@ -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