Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README and help-text: explain tentative_timeout, learning phase and add default value info #67

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ stupid stuff, but also allow you maximal adaption.
-c CLT-IFACE Interface on which requests from clients are handled
-i SRV-IFACE Interface on which different servers communicate
-S no client interface
-t TENTATIVE Time required for a block to be claimed
-t TENTATIVE Time in seconds from when a block is announced to be claimed until a block is claimed (min: 2, default: 15)
-N NETWORK/CIDR Network to announce and manage blocks in
-o CODE:LEN:P1. .. .Pn DHCP Option with code, len and #len chars in decimal
-b BLKSIZEPOW Block size as power of two
-B TIMEOUT Block claim timeout
-B TIMEOUT Block claim timeout (default 60s)
-n NEEDLESS_TIMEOUT Time until we release needless blocks (default 300s)
-s SPARELEASES Amount of spare leases (max: 256)
-L Deactivate learning phase
-L Deactivate learning phase (otherwise the learning phase has the same time window like the block claim timeout)
-d Run in background and daemonize
-D Run in foreground and log to console (default)
-C CTRL_PATH Path to control socket
Expand Down
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ int main(int argc, char** argv) {
printf("-c CLT-IFACE Interface on which requests from clients are handled\n");
printf("-i SRV-IFACE Interface on which different servers communicate\n");
printf("-S no Client interface\n");
printf("-t TENTATIVE Time required for a block to be claimed\n");
printf("-t TENTATIVE Time in seconds from when a block is announced to be claimed until a block is claimed\n");
printf("-N NETWORK/CIDR Network to announce and manage blocks in\n");
printf("-o CODE:LEN:P1. .. .Pn DHCP Option with code,len and #len chars in decimal\n");
printf("-b BLKSIZEPOW Power over two of block size\n");
Expand Down