]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Remember the highest priority. Fixes #425
authorAlan T. DeKok <aland@freeradius.org>
Sat, 7 Sep 2013 15:29:34 +0000 (11:29 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 7 Sep 2013 15:29:34 +0000 (11:29 -0400)
src/main/modcall.c

index dfbac445c77fde35fc6c395e912586e647c16ba4..1db29c376ce46b66bf1a8de1f453a1b7e35953ab 100644 (file)
@@ -932,8 +932,7 @@ calculate_result:
         *      We're higher than any previous priority, remember this
         *      return code and priority.
         */
-       if ((priority >= entry->priority) &&
-           (result != entry->result)) {
+       if (priority >= entry->priority) {
                entry->result = result;
                entry->priority = priority;
        }