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 dfbac44..1db29c3 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;
        }