summaryrefslogtreecommitdiff
path: root/server/stables.c
diff options
context:
space:
mode:
authorShawn Routhier <sar@isc.org>2014-06-05 14:55:01 -0700
committerShawn Routhier <sar@isc.org>2014-06-05 14:55:01 -0700
commit250f7134bbe06f5014ab12dfd8a459c9b39e17cb (patch)
tree1c133ba8b68a77c044bd8259e52f9afd9e5e607e /server/stables.c
parent0ab4a716125d7945645bc0b3935c052edee0e97d (diff)
downloadisc-dhcp-250f7134bbe06f5014ab12dfd8a459c9b39e17cb.tar.gz
[master] Add support for pool thresholds
Add support to set high and low thresholds for pools for v4 and v6. A message will be emitted when the usage of the pool first exceeds the high threshold. More messages will be skipped until the usage has gone below the low threshold and then back above the high threshold.
Diffstat (limited to 'server/stables.c')
-rw-r--r--server/stables.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/stables.c b/server/stables.c
index 4a5a13b1..f9b3a511 100644
--- a/server/stables.c
+++ b/server/stables.c
@@ -265,6 +265,8 @@ static struct option server_options[] = {
{ "ddns-local-address4", "I", &server_universe, 80, 1 },
{ "ddns-local-address6", "6", &server_universe, 81, 1 },
{ "ignore-client-uids", "f", &server_universe, 82, 1 },
+ { "log-threshold-low", "B", &server_universe, 83, 1 },
+ { "log-threshold-high", "B", &server_universe, 84, 1 },
{ NULL, NULL, NULL, 0, 0 }
};