Debian Codegraph @

keama/tests/switchxsc4.in4

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 user-class) {
8 case "accounting":
9 add "acct";
10 send ip-forwarding false;
11 default-lease-time 3600;
12 break;
13 case "engineering":
14 allow booting;
15 log (debug, option host-name);
16 set foo = "bar";
17 break;
18 }