xref: /netbsd-src/external/mpl/dhcp/dist/keama/tests/switchxsc6.in6 (revision 325dc460fcb903ba21d515d6422d8abf39bc692e)
1# switch executable statement construct
2
3# empty configs are not accepted by Kea
4default-lease-time 1800;
5
6# a switch
7switch (option dhcp6.remote-id) {
8case "accounting":
9 default dhcp6.bootfile-url foobar;
10 default-lease-time 3600;
11 unset foo;
12 break;
13case "engineering":
14 deny declines;
15 log (debug, "hello");
16 define foo (x) { return "world"; }
17 break;
18}
19