Debian Codegraph @

keama/tests/switchxsc6.in6

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