summaryrefslogtreecommitdiffstats
path: root/src/resolve/resolved-dns-scope.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-07-13 01:58:02 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-07-20 21:04:42 +0200
commitda9de7385adc2329bdd75351db9fdbb4a2f90897 (patch)
treee3f0764e2a694f1aa351b8ed1f5b5b033c171752 /src/resolve/resolved-dns-scope.h
parentresolve: ignore empty server name (diff)
downloadsystemd-da9de7385adc2329bdd75351db9fdbb4a2f90897.tar.xz
systemd-da9de7385adc2329bdd75351db9fdbb4a2f90897.zip
resolve: support port specifier in DNS= setting
Diffstat (limited to 'src/resolve/resolved-dns-scope.h')
-rw-r--r--src/resolve/resolved-dns-scope.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-scope.h b/src/resolve/resolved-dns-scope.h
index b356b92120..8b1a958551 100644
--- a/src/resolve/resolved-dns-scope.h
+++ b/src/resolve/resolved-dns-scope.h
@@ -75,7 +75,7 @@ void dns_scope_packet_lost(DnsScope *s, usec_t usec);
int dns_scope_emit_udp(DnsScope *s, int fd, 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, uint16_t port);
+int dns_scope_socket_udp(DnsScope *s, DnsServer *server);
DnsScopeMatch dns_scope_good_domain(DnsScope *s, int ifindex, uint64_t flags, const char *domain);
bool dns_scope_good_key(DnsScope *s, const DnsResourceKey *key);