# # PRE: update if # update { control:Cleartext-Password := 'hello' reply:Filter-Id := 'filter' } # # Paircmp # # # Passing 'yes' causes the test paircmp to return match # Passing 'no' causes the test paircmp to return a non-match # if (&Test-Paircmp != 'yes') { update reply { Filter-Id += 'fail 1' } } if (&Test-Paircmp == 'no') { update reply { Filter-Id += 'fail 2' } }