+ /dhcp/reset: clear leases

This commit is contained in:
Simon Zolin
2020-06-01 11:20:58 +03:00
parent 93b99039c0
commit 4b5f8537be
3 changed files with 56 additions and 13 deletions

View File

@@ -397,6 +397,11 @@ paths:
- dhcp
operationId: dhcpReset
summary: Reset DHCP configuration
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/DhcpResetRequest"
responses:
"200":
description: OK
@@ -1366,6 +1371,11 @@ components:
type: string
description: Set if static=no
example: ""
DhcpResetRequest:
type: object
properties:
what:
type: string
DnsAnswer:
type: object
description: DNS answer section