summaryrefslogtreecommitdiffstats
path: root/src/resolve/resolved-dns-scope.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-02-22 23:50:30 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-02-22 23:53:57 +0100
commit176a9a2cca47f7c1553d96f7dd51c2193a269dbc (patch)
tree33b41a5d7f34501fbab785ee11b31461f45c2056 /src/resolve/resolved-dns-scope.h
parentresolve: drop never matched condition (diff)
downloadsystemd-176a9a2cca47f7c1553d96f7dd51c2193a269dbc.tar.xz
systemd-176a9a2cca47f7c1553d96f7dd51c2193a269dbc.zip
resolve: make dns_scope_good_domain() take DnsQuery*
Diffstat (limited to '')
-rw-r--r--src/resolve/resolved-dns-scope.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resolve/resolved-dns-scope.h b/src/resolve/resolved-dns-scope.h
index a2b9546b38..1f9d22b7d1 100644
--- a/src/resolve/resolved-dns-scope.h
+++ b/src/resolve/resolved-dns-scope.h
@@ -10,7 +10,7 @@ typedef struct DnsScope DnsScope;
#include "resolved-dns-cache.h"
#include "resolved-dns-dnssec.h"
#include "resolved-dns-packet.h"
-
+#include "resolved-dns-query.h"
#include "resolved-dns-search-domain.h"
#include "resolved-dns-server.h"
#include "resolved-dns-stream.h"
@@ -76,7 +76,7 @@ int dns_scope_emit_udp(DnsScope *s, int fd, int af, DnsPacket *p);
int dns_scope_socket_tcp(DnsScope *s, int family, const union in_addr_union *address, DnsServer *server, uint16_t port, union sockaddr_union *ret_socket_address);
int dns_scope_socket_udp(DnsScope *s, DnsServer *server);
-DnsScopeMatch dns_scope_good_domain(DnsScope *s, int ifindex, uint64_t flags, const char *domain);
+DnsScopeMatch dns_scope_good_domain(DnsScope *s, DnsQuery *q);
bool dns_scope_good_key(DnsScope *s, const DnsResourceKey *key);
DnsServer *dns_scope_get_dns_server(DnsScope *s);