diff options
author | Christian Poessinger <christian@poessinger.com> | 2018-09-15 07:37:21 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2018-09-15 07:37:23 +0200 |
commit | 87174053a05740e9cccf7d9e6b855249783f085b (patch) | |
tree | afa70666b0d8d511ea3af8081dc82ef723c33d68 /interface-definitions/dhcp-server.xml | |
parent | 9626323417d5fc52b0602c693d159f35d43b93bc (diff) | |
download | vyos-1x-87174053a05740e9cccf7d9e6b855249783f085b.tar.gz vyos-1x-87174053a05740e9cccf7d9e6b855249783f085b.zip |
dhcp-server: increase maximum lease time to 4294967295 seconds
This was the upper limit in VyOS 1.1.8 and must not be changed to keep
configs compatible.
Diffstat (limited to 'interface-definitions/dhcp-server.xml')
-rw-r--r-- | interface-definitions/dhcp-server.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/interface-definitions/dhcp-server.xml b/interface-definitions/dhcp-server.xml index 0fcb79454..2002f0c65 100644 --- a/interface-definitions/dhcp-server.xml +++ b/interface-definitions/dhcp-server.xml @@ -218,13 +218,13 @@ <properties> <help>Lease timeout in seconds (default: 86400)</help> <valueHelp> - <format>0-2592000</format> - <description>DHCP lease time must be 0 to 2592000 (30 days)</description> + <format>0-4294967295</format> + <description>DHCP lease time in seconds must be between 0 and 4294967295 (49 days)</description> </valueHelp> <constraint> - <validator name="numeric" argument="--range 0-2592000"/> + <validator name="numeric" argument="--range 0-4294967295"/> </constraint> - <constraintErrorMessage>DHCP lease time must be 0 to 2592000</constraintErrorMessage> + <constraintErrorMessage>DHCP lease time must be 0 to 4294967295</constraintErrorMessage> </properties> </leafNode> <leafNode name="ntp-server"> |