diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-01-05 17:25:10 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-01-05 17:30:51 +0100 |
commit | af49ca27ffd790d78dbbb465b978266dfd5c93da (patch) | |
tree | 425f998649c34c999a0376a977029a9f4c3b7bd0 /src/resolve/resolved-link.h | |
parent | b18b8662154b46f03ddeac00e52d157c87d474e3 (diff) |
resolved,networkd: unify ResolveSupport enum
networkd previously knew an enum "ResolveSupport" for configuring
per-interface LLMNR support, resolved had a similar enum just called
"Support", with the same value and similar pasers.
Unify this, call the enum ResolveSupport, and port both daemons to it.
Diffstat (limited to 'src/resolve/resolved-link.h')
-rw-r--r-- | src/resolve/resolved-link.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/resolve/resolved-link.h b/src/resolve/resolved-link.h index a3b406bbc2..bb3fe8ebff 100644 --- a/src/resolve/resolved-link.h +++ b/src/resolve/resolved-link.h @@ -25,6 +25,7 @@ #include "in-addr-util.h" #include "ratelimit.h" +#include "resolve-util.h" typedef struct Link Link; typedef struct LinkAddress LinkAddress; @@ -66,8 +67,8 @@ struct Link { LIST_HEAD(DnsSearchDomain, search_domains); unsigned n_search_domains; - Support llmnr_support; - Support mdns_support; + ResolveSupport llmnr_support; + ResolveSupport mdns_support; DnsScope *unicast_scope; DnsScope *llmnr_ipv4_scope; |