blob: 166e5bc741ceb6c9b1583068353ac9a1ccf3cc87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# switch executable statement construct
# authoritative is mandatory
authoritative;
# empty configs are not accepted by Kea
default-lease-time 1800;
# a switch
switch (option dhcp6.remote-id) {
case "accounting":
default dhcp6.bootfile-url foobar;
default-lease-time 3600;
unset foo;
break;
case "engineering":
deny declines;
log (debug, "hello");
define foo (x) { return "world"; }
break;
}
|