From: Alan T. DeKok Date: Wed, 25 Mar 2009 13:55:12 +0000 (-0700) Subject: Skip deleted attributes X-Git-Tag: release_2_1_7~226 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a07d665e7b39e5a5aaa984853502f09696426419;p=thirdparty%2Ffreeradius-server.git Skip deleted attributes --- diff --git a/src/main/evaluate.c b/src/main/evaluate.c index 1d212fa4f30..467a6d6b41e 100644 --- a/src/main/evaluate.c +++ b/src/main/evaluate.c @@ -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.