We don't need mainconfig
authoraland <aland>
Tue, 25 Sep 2007 21:33:39 +0000 (21:33 +0000)
committeraland <aland>
Tue, 25 Sep 2007 21:33:39 +0000 (21:33 +0000)
src/modules/rlm_eap/radeapclient.c

index 3811cf9..040b39f 100644 (file)
@@ -59,7 +59,6 @@ const char *progname = "radeapclient";
 radlog_dest_t radlog_dest = RADLOG_STDERR;
 const char *radlog_dir = NULL;
 int debug_flag = 0;
-struct main_config_t mainconfig;
 char password[256];
 
 struct eapsim_keys eapsim_mk;
@@ -1079,11 +1078,6 @@ int main(int argc, char **argv)
        }
 
        /*
-        *      Ensure that the configuration is initialized.
-        */
-       memset(&mainconfig, 0, sizeof(mainconfig));
-
-       /*
         *      Resolve hostname.
         */
        req->dst_port = port;