# # PRE: switch-value-error # # The same as "switch-value-error", but the attribute # is hidden inside of an xlat expansion. We now turn # simple attribute xlats into templates. # switch "%{Service-Type}" { # ERROR case "%{expr: 1 + 2}" { update reply { Filter-Id := "3" } } case Login-User { update reply { Filter-Id := "Login-User" } } case { update reply { Filter-Id := "default" } } }