summaryrefslogtreecommitdiffstats
path: root/src/tests/keywords/randstr
blob: 6884cb08453e27c1b7d0550862c148c93d103945 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
update request {
	&Tmp-Octets-0 := "0x%{randstr:16h}"
	&Tmp-String-0 := "%{randstr:16h}"
}

if ("%{length:Tmp-Octets-0}" == 16) {
	update reply {
       		Filter-Id := "filter"
	}
}

if ("%{length:Tmp-String-0}" == 32) {
	update reply {
       		Filter-Id := "filter"
	}
}