summaryrefslogtreecommitdiffstats
path: root/src/tests/keywords/switch-default
blob: 6115ed9cd8da5462e07556d38bf5751c6d859e86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# PRE: switch
#
switch User-Name {
	case "harry" {
		update reply {
			Filter-Id := "harry"
		}
	}

	case "doug" {
		update reply {
			Filter-Id := "doug"
		}
	}

	case {
		update reply {
			Filter-Id := "filter"
		}
	}

}