summaryrefslogtreecommitdiffstats
path: root/src/tests/keywords/switch-virtual
blob: 659604d98c72e12706adebf116eb9433ae759246 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
#  PRE: update switch
#
update control {
       Cleartext-Password := 'hello'
}

#
#  Virtual attribute references get mashed to xlats
#
switch &Packet-Type {
	case Access-Request {
		update reply {
			Filter-Id := "filter"
		}
	}

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