Fix compilation of rlm_eap
authorNikolai Kondrashov <Nikolai.Kondrashov@redhat.com>
Mon, 26 May 2014 11:26:41 +0000 (14:26 +0300)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 26 May 2014 11:32:15 +0000 (12:32 +0100)
Mark rlm_eap_tnc connection_string const to cater to FR_CONF_OFFSET
invocation. This fixes the build of rlm_eap module.

src/modules/rlm_eap/types/rlm_eap_tnc/rlm_eap_tnc.c

index 194a3c1..d085675 100644 (file)
@@ -60,7 +60,7 @@
 #define SET_START(x)           ((x) | (0x20))
 
 typedef struct rlm_eap_tnc {
-       char    *connection_string;
+       char const      *connection_string;
 } rlm_eap_tnc_t;
 
 static CONF_PARSER module_config[] = {