diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-01-19 17:13:27 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-01-19 18:37:45 +0100 |
commit | dfc1091b2f5f21f69e0aa6d3c4536b8990d4b100 (patch) | |
tree | 889e29de61556c46edfef868803eb1a7bcf80cfe /src/resolve/resolved-link.h | |
parent | 5b91184300f3db4971cafe4e33aaa14ac1d78a35 (diff) |
resolved: allocate DNS scope for links only if the interface is up
For mDNS and LLMNR we already created the scopes only if the specific interfaces where actually up and suitable for
Multicasting. Add a similar (but weaker) logic for unicast DNS as well.
Diffstat (limited to 'src/resolve/resolved-link.h')
-rw-r--r-- | src/resolve/resolved-link.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-link.h b/src/resolve/resolved-link.h index db0e51da04..038ede7b67 100644 --- a/src/resolve/resolved-link.h +++ b/src/resolve/resolved-link.h @@ -86,7 +86,7 @@ int link_new(Manager *m, Link **ret, int ifindex); Link *link_free(Link *l); int link_update_rtnl(Link *l, sd_netlink_message *m); int link_update_monitor(Link *l); -bool link_relevant(Link *l, int family); +bool link_relevant(Link *l, int family, bool multicast); LinkAddress* link_find_address(Link *l, int family, const union in_addr_union *in_addr); void link_add_rrs(Link *l, bool force_remove); |