Skip deleted attributes
authorAlan T. DeKok <aland@freeradius.org>
Wed, 25 Mar 2009 13:55:12 +0000 (06:55 -0700)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 25 Mar 2009 13:55:36 +0000 (06:55 -0700)
src/main/evaluate.c

index 1d212fa..467a6d6 100644 (file)
@@ -972,7 +972,7 @@ void radius_pairmove(REQUEST *request, VALUE_PAIR **to, VALUE_PAIR *from)
 
                found = FALSE;
                for (j = 0; j < to_count; j++) {
-                       if (edited[j]) continue;
+                       if (edited[j] || !to_list[j]) continue;
 
                        /*
                         *      Attributes aren't the same, skip them.