summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeiko Hund <heiko.hund@sophos.com>2012-07-11 15:38:49 +0200
committerDavid Sommerseth <dazo@users.sourceforge.net>2012-07-19 21:30:32 +0200
commitaf417baa93f4ebcc545486cbd9635fbc602ba148 (patch)
tree8eaab03393b40a0c09a6006127271e946ec81d86
parent910675de28956cf8d028aed727486b64747362fb (diff)
downloadopenvpn-af417baa93f4ebcc545486cbd9635fbc602ba148.tar.gz
openvpn-af417baa93f4ebcc545486cbd9635fbc602ba148.tar.xz
openvpn-af417baa93f4ebcc545486cbd9635fbc602ba148.zip
remove unused show_connection_list debug function
Signed-off-by: Heiko Hund <heiko.hund@sophos.com> Acked-by: David Sommerseth <davids@redhat.com> Message-Id: 1342013929-10940-1-git-send-email-heiko.hund@sophos.com URL: http://article.gmane.org/gmane.network.openvpn.devel/6842 Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
-rw-r--r--src/openvpn/init.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/openvpn/init.c b/src/openvpn/init.c
index f86fc38..81800d3 100644
--- a/src/openvpn/init.c
+++ b/src/openvpn/init.c
@@ -316,30 +316,6 @@ init_connection_list (struct context *c)
}
}
-#if 0 /* fixme -- disable for production */
-static void
-show_connection_list (const struct connection_list *l)
-{
- int i;
- dmsg (M_INFO, "CONNECTION_LIST len=%d current=%d",
- l->len, l->current);
- for (i = 0; i < l->len; ++i)
- {
- dmsg (M_INFO, "[%d] %s:%d proto=%s http_proxy=%d",
- i,
- l->array[i]->remote,
- l->array[i]->remote_port,
- proto2ascii(l->array[i]->proto, true),
- BOOL_CAST(l->array[i]->http_proxy_options));
- }
-}
-#else
-static inline void
-show_connection_list (const struct connection_list *l)
-{
-}
-#endif
-
/*
* Increment to next connection entry
*/
@@ -374,7 +350,6 @@ next_connection_entry (struct context *c)
if (l->current == 0)
newcycle = true;
- show_connection_list(l);
}
ce = l->array[l->current];