keama/tests/notnotbx4.in4
raw| 1 | # double not boolean expression |
| 2 | |
| 3 | # empty configs are not accepted by Kea |
| 4 | default-lease-time 1800; |
| 5 | |
| 6 | # use double not in a reductible match if |
| 7 | class "reductible" { |
| 8 | match if not (not ((option host-name = "www.example.com") or |
| 9 | (option host-name = "www.example.org"))); |
| 10 | } |
| 11 | |
| 12 | # use not with != |
| 13 | class "other" { |
| 14 | match if not (option host-name != "www.example.com"); |
| 15 | } |