projects
/
project
/
mdnsd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ipv6 cleanup
[project/mdnsd.git]
/
dns.c
diff --git
a/dns.c
b/dns.c
index
4f82849
..
1ff5d53
100644
(file)
--- a/
dns.c
+++ b/
dns.c
@@
-95,13
+95,9
@@
dns_send_question(struct interface *iface, const char *question, int type, int u
iov[1].iov_len = len;
iov[1].iov_len = len;
- if (unicast == iface->multicast)
- iface = iface->peer;
-
+ DBG(1, "Q <- %s %s\n", dns_type_string(type), question);
if (interface_send_packet(iface, iov, ARRAY_SIZE(iov)) < 0)
if (interface_send_packet(iface, iov, ARRAY_SIZE(iov)) < 0)
- fprintf(stderr, "failed to send question\n");
- else
- DBG(1, "Q <- %s %s\n", dns_type_string(type), question);
+ perror("failed to send question :");
}
}