Fix typo in last commit
authorAlan T. DeKok <aland@freeradius.org>
Tue, 26 May 2009 14:30:14 +0000 (16:30 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 26 May 2009 14:30:14 +0000 (16:30 +0200)
src/main/listen.c

index 7cc66ed..e4446e8 100644 (file)
@@ -1094,7 +1094,7 @@ static int rad_coa_recv(REQUEST *request)
                         *      Otherwise an "ok" here will re-write a
                         *      NAK to an ACK.
                         */
-                       if (request->reply->code != 0) {
+                       if (request->reply->code == 0) {
                                request->reply->code = ack;
                        }
                        break;