Hi, I have a bug in the network and sometimes the stop pack comes before updates. to fix this i write some like this accounting { if (Acct-Status-Type == Start) { rest } if (Acct-Status-Type == Interim-Update) { update control { Cache-Status-Only = 'yes' } cache if (notfound) { rest } else { ok } } if (Acct-Status-Type == Stop) { cache rest } #ok #rest } but this not work , in debug mode i see Tue Nov 7 21:51:00 2017 : Debug: (222) accounting { Tue Nov 7 21:51:00 2017 : Debug: (222) if (Acct-Status-Type == Start) { Tue Nov 7 21:51:00 2017 : Debug: (222) if (Acct-Status-Type == Start) -> FALSE Tue Nov 7 21:51:00 2017 : Debug: (222) if (Acct-Status-Type == Interim-Update) { Tue Nov 7 21:51:00 2017 : Debug: (222) if (Acct-Status-Type == Interim-Update) -> TRUE Tue Nov 7 21:51:00 2017 : Debug: (222) if (Acct-Status-Type == Interim-Update) { Tue Nov 7 21:51:00 2017 : Debug: (222) update control { Tue Nov 7 21:51:00 2017 : Debug: (222) Cache-Status-Only = yes Tue Nov 7 21:51:00 2017 : Debug: (222) } # update control = noop Tue Nov 7 21:51:00 2017 : Debug: (222) modsingle[accounting]: calling cache (rlm_cache) Tue Nov 7 21:51:00 2017 : Debug: %{Acct-Unique-Session-Id} Tue Nov 7 21:51:00 2017 : Debug: Parsed xlat tree: Tue Nov 7 21:51:00 2017 : Debug: attribute --> Acct-Unique-Session-Id Tue Nov 7 21:51:00 2017 : Debug: (222) cache: EXPAND %{Acct-Unique-Session-Id} Tue Nov 7 21:51:00 2017 : Debug: (222) cache: --> cc815c1b8cb89841330796a5f48bfa12 Tue Nov 7 21:51:00 2017 : Debug: (222) cache: Mutex acquired Tue Nov 7 21:51:00 2017 : Debug: (222) cache: No cache entry found for "cc815c1b8cb89841330796a5f48bfa12" Tue Nov 7 21:51:00 2017 : Debug: (222) cache: Mutex released Tue Nov 7 21:51:00 2017 : Debug: (222) modsingle[accounting]: returned from cache (rlm_cache) Tue Nov 7 21:51:00 2017 : Debug: (222) [cache] = notfound Tue Nov 7 21:51:00 2017 : Debug: (222) } # if (Acct-Status-Type == Interim-Update) = notfound Tue Nov 7 21:51:00 2017 : Debug: (222) } # accounting = notfound Tue Nov 7 21:51:00 2017 : Debug: (222) Not sending reply to client. Tue Nov 7 21:51:00 2017 : Debug: (222) Finished request why not work if (notfound) in accounting ? thx