blob: 9b5e2a42d53c282a34f6291edbfe4d34c83fc248 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# concat with null argument data expression
# empty configs are not accepted by Kea
default-lease-time 1800;
# null left argument
class "null-left" {
match concat("", suffix(option host-name, 3));
}
subclass "null-left" "com" { }
# null right argument
class "null-right" {
match concat(suffix(option host-name, 3), substring("foobar", 0, 0));
}
subclass "null-right" "org" { }
|