]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
mypriority can be -1, too
authorAlan T. DeKok <aland@freeradius.org>
Fri, 15 Feb 2013 22:19:37 +0000 (17:19 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 18 Feb 2013 14:17:33 +0000 (09:17 -0500)
src/main/modcall.c

index 88213469c3e15a145577462e11317e20f9545223..cabd66ce4649c244d9b57ccf11ff28c3bb58feb5 100644 (file)
@@ -725,7 +725,7 @@ int modcall(int component, modcallable *c, REQUEST *request)
                 *      The child's action says return.  Do so.
                 */
                if ((child->actions[myresult] == MOD_ACTION_RETURN) &&
-                   (mypriority == 0)) {
+                   (mypriority <= 0)) {
                        stack.result[stack.pointer] = myresult;
                        stack.children[stack.pointer] = NULL;
                        goto do_return;