diff options
author | Tom Gundersen <teg@jklm.no> | 2014-03-13 20:46:45 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-03-14 12:44:17 +0100 |
commit | 06f021a8048583d66202e3ac5cd0a12386d33ac2 (patch) | |
tree | 407112a3da562091ca371ebd1cff2e9f5bf3faf8 /src/network/networkd.h | |
parent | 0ea51a1129b9984a3c6d96cef1b0e33c99b5e9cf (diff) |
networkd: allow more than one static DNS server
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r-- | src/network/networkd.h | 4 |
1 files changed, 3 insertions, 1 deletions
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); }; |