Model: Use DNSServer in the Configuration model

Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
Roopesh Chander
2018-10-23 16:28:24 +05:30
parent e1b8b67890
commit 722b3f6c7b
2 changed files with 14 additions and 5 deletions
@@ -24,7 +24,7 @@ struct InterfaceConfiguration: Codable {
var addresses: [IPAddressRange] = []
var listenPort: UInt16? = nil
var mtu: UInt64? = nil
var dns: String? = nil
var dns: [DNSServer] = []
init(name: String, privateKey: Data) {
self.name = name