* GET /control/dhcp/interfaces: split IPv4 and IPv6 addresses

This commit is contained in:
Simon Zolin
2020-08-07 11:47:24 +03:00
parent 89c3926ba5
commit ec24d18f83
3 changed files with 15 additions and 7 deletions

View File

@@ -1626,12 +1626,14 @@ components:
name:
type: string
example: eth0
ip_addresses:
ipv4_addresses:
type: array
items:
type: string
ipv6_addresses:
type: array
items:
type: string
example:
- 127.0.0.1
AddressInfo:
type: object
description: Port information