summaryrefslogtreecommitdiff
path: root/src/network/networkd.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-05-16 19:43:12 +0200
committerTom Gundersen <teg@jklm.no>2014-05-16 19:48:25 +0200
commitd4920165fe753751aaa274fdc568927d26284eea (patch)
tree0b537258c9bea6254b36fc4b54a9101cd8d66ac8 /src/network/networkd.h
parent7b4d79683998a78d6e123dd034b1e06b74d8030b (diff)
networkd: network - store DNS servers in List rather than Set
This way we preserve the order of preference.
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r--src/network/networkd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd.h b/src/network/networkd.h
index 3b29842f19..ebb3075534 100644
--- a/src/network/networkd.h
+++ b/src/network/networkd.h
@@ -150,7 +150,7 @@ struct Network {
Hashmap *addresses_by_section;
Hashmap *routes_by_section;
- Set *dns;
+ LIST_HEAD(Address, dns);
LIST_FIELDS(Network, networks);
};