From 06f021a8048583d66202e3ac5cd0a12386d33ac2 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Thu, 13 Mar 2014 20:46:45 +0100 Subject: networkd: allow more than one static DNS server --- src/network/networkd.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/network/networkd.h') diff --git a/src/network/networkd.h b/src/network/networkd.h index 0c0171993d..311350c1e2 100644 --- a/src/network/networkd.h +++ b/src/network/networkd.h @@ -33,6 +33,7 @@ #include "rtnl-util.h" #include "hashmap.h" #include "list.h" +#include "set.h" #include "condition-util.h" typedef struct NetDev NetDev; @@ -130,11 +131,12 @@ struct Network { LIST_HEAD(Address, static_addresses); LIST_HEAD(Route, static_routes); - Address *dns; Hashmap *addresses_by_section; Hashmap *routes_by_section; + Set *dns; + LIST_FIELDS(Network, networks); }; -- cgit v1.2.3-54-g00ecf