From ff6560ee0e162b4b8364877bfaf653724b883696 Mon Sep 17 00:00:00 2001 From: Aileen Thai Date: Tue, 1 Aug 2017 16:23:18 -0700 Subject: [PATCH 1/2] Rewrite sentence and remove reference to go const --- Documentation/configuration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/configuration.md b/Documentation/configuration.md index b9edcd47d5..eb0d8967a9 100644 --- a/Documentation/configuration.md +++ b/Documentation/configuration.md @@ -23,8 +23,8 @@ The value of the config is a JSON dictionary with the following keys: The list of available backends and the keys that can be put into the this dictionary are listed below. Defaults to `udp` backend. -The lease on a subnet is hard-coded to 24h (see [`subnetTTL`](subnet/local_manager.go#L31)). -Subnet lease are renewed within 1h of their expiration (can be overridden via `--subnet-lease-renew-margin`). +Subnet leases have a duration of 24 hours. Leases are renewed within 1 hour of their expiration, +unless a different renewal margin is set with the ``subnet-lease-renew-margin`` option. ## Example configuration JSON From 2a823ca5ad96201dfd2ebaf0a0380e20347470d7 Mon Sep 17 00:00:00 2001 From: Aileen Thai Date: Tue, 1 Aug 2017 16:29:45 -0700 Subject: [PATCH 2/2] Add '--' to command option --- Documentation/configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/configuration.md b/Documentation/configuration.md index eb0d8967a9..cd0c41a4d3 100644 --- a/Documentation/configuration.md +++ b/Documentation/configuration.md @@ -24,7 +24,7 @@ The value of the config is a JSON dictionary with the following keys: Defaults to `udp` backend. Subnet leases have a duration of 24 hours. Leases are renewed within 1 hour of their expiration, -unless a different renewal margin is set with the ``subnet-lease-renew-margin`` option. +unless a different renewal margin is set with the ``--subnet-lease-renew-margin`` option. ## Example configuration JSON