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-llmnr.c | |
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-llmnr.c')
-rw-r--r-- | src/resolve/resolved-llmnr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resolve/resolved-llmnr.c b/src/resolve/resolved-llmnr.c index 182c6e45ea..dd4d9508ba 100644 --- a/src/resolve/resolved-llmnr.c +++ b/src/resolve/resolved-llmnr.c @@ -47,7 +47,7 @@ int manager_llmnr_start(Manager *m) { assert(m); - if (m->llmnr_support == SUPPORT_NO) + if (m->llmnr_support == RESOLVE_SUPPORT_NO) return 0; r = manager_llmnr_ipv4_udp_fd(m); @@ -80,7 +80,7 @@ int manager_llmnr_start(Manager *m) { eaddrinuse: log_warning("There appears to be another LLMNR responder running. Turning off LLMNR support."); - m->llmnr_support = SUPPORT_NO; + m->llmnr_support = RESOLVE_SUPPORT_NO; manager_llmnr_stop(m); return 0; |