blob: a291e7b75159d3abb4ad7555c2d4820a9c9b1f01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#
# 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"
}
}
}
|