From 961d5b2ce43b5cca65cef2e9e34be60f92435f65 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 21 Apr 2009 23:50:26 +0100 Subject: [PATCH] Add debug output for used domain name server --- plugins/dnsproxy.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/dnsproxy.c b/plugins/dnsproxy.c index b682d82..ff7ce8a 100644 --- a/plugins/dnsproxy.c +++ b/plugins/dnsproxy.c @@ -542,6 +542,8 @@ static gboolean listener_event(GIOChannel *channel, GIOCondition condition, for (list = server_list; list; list = list->next) { struct server_data *data = list->data; + DBG("server %s domain %s", data->server, data->domain); + sk = g_io_channel_unix_get_fd(data->channel); err = send(sk, buf, len, 0); -- 2.7.4