summaryrefslogtreecommitdiff
path: root/radsecproxy.c
diff options
context:
space:
mode:
authorvenaas <venaas>2008-12-22 14:36:16 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-12-22 14:36:16 +0000
commit9406a04b87510af8c9add733c1035f97c0c22074 (patch)
tree249a01f1bdf10a3656d4ebb94bc26e5c36c6f27a /radsecproxy.c
parente0c9e33cc484025e2b80bec19f7130554e9e3781 (diff)
adding configure options for various transports, and -v output which transports are enabled
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@448 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.c')
-rw-r--r--radsecproxy.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index 7aaf9f3..79c6a14 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -3145,7 +3145,21 @@ void getargs(int argc, char **argv, uint8_t *foreground, uint8_t *pretend, uint8
*pretend = 1;
break;
case 'v':
- debugx(0, DBG_ERR, "radsecproxy revision $Rev$");
+ debug(DBG_ERR, "radsecproxy revision $Rev$");
+ debug(DBG_ERR, "This binary was built with support for the following transports:");
+#ifdef RADPROT_UDP
+ debug(DBG_ERR, " UDP");
+#endif
+#ifdef RADPROT_TCP
+ debug(DBG_ERR, " TCP");
+#endif
+#ifdef RADPROT_TLS
+ debug(DBG_ERR, " TLS");
+#endif
+#ifdef RADPROT_DTLS
+ debug(DBG_ERR, " DTLS");
+#endif
+ exit(0);
default:
goto usage;
}