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.
This commit is contained in:
Lennart Poettering
2016-01-05 17:30:51 +01:00
parent b18b866215
commit af49ca27ff
16 changed files with 108 additions and 113 deletions
+3 -2
View File
@@ -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;