mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-28 11:55:23 +03:00
resolved: minor typo comment fix
This commit is contained in:
parent
9ca45586e6
commit
a8f6397f53
@ -256,7 +256,7 @@ static int dns_transaction_open_tcp(DnsTransaction *t) {
|
||||
fd = dns_scope_tcp_socket(t->scope, AF_UNSPEC, NULL, 53, &server);
|
||||
else if (t->scope->protocol == DNS_PROTOCOL_LLMNR) {
|
||||
|
||||
/* When we already received a query to this (but it was truncated), send to its sender address */
|
||||
/* When we already received a reply to this (but it was truncated), send to its sender address */
|
||||
if (t->received)
|
||||
fd = dns_scope_tcp_socket(t->scope, t->received->family, &t->received->sender, t->received->sender_port, NULL);
|
||||
else {
|
||||
@ -292,7 +292,6 @@ static int dns_transaction_open_tcp(DnsTransaction *t) {
|
||||
return r;
|
||||
}
|
||||
|
||||
|
||||
dns_server_unref(t->server);
|
||||
t->server = dns_server_ref(server);
|
||||
t->received = dns_packet_unref(t->received);
|
||||
|
Loading…
Reference in New Issue
Block a user