summaryrefslogtreecommitdiff
path: root/server/dispatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/dispatch.c')
-rw-r--r--server/dispatch.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/dispatch.c b/server/dispatch.c
index 256a786..9981581 100644
--- a/server/dispatch.c
+++ b/server/dispatch.c
@@ -205,6 +205,12 @@ handle_packet(void)
whence = &whoisit;
}
+ /* Don't bother checking authentication on client ACKs */
+ if (new_notice.z_kind == CLIENTACK) {
+ nack_cancel(&new_notice, &whoisit);
+ return;
+ }
+
/* Clients don't check auth of acks, nor do we make it so they
can in general, so this is safe. */
if (new_notice.z_kind == SERVACK || new_notice.z_kind == SERVNAK) {