~ubuntu-branches/ubuntu/natty/freeradius/natty-updates

« back to all changes in this revision

Viewing changes to src/modules/rlm_eap/radeapclient.c

  • Committer: Bazaar Package Importer
  • Author(s): Paul Hampson
  • Date: 2006-01-15 13:34:13 UTC
  • mto: (3.1.3 dapper) (4.1.3 sid) (1.1.14 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20060115133413-zo1dslttvdoalqym
Tags: upstream-1.1.0
ImportĀ upstreamĀ versionĀ 1.1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * radeapclient.c       EAP specific radius packet debug tool.
3
3
 *
4
 
 * Version:     $Id: radeapclient.c,v 1.7 2004/02/26 19:04:29 aland Exp $
 
4
 * Version:     $Id: radeapclient.c,v 1.7.4.1 2005/12/14 18:32:02 nbk Exp $
5
5
 *
6
6
 *   This program is free software; you can redistribute it and/or modify
7
7
 *   it under the terms of the GNU General Public License as published by
21
21
 * Copyright 2000  Miquel van Smoorenburg <miquels@cistron.nl>
22
22
 * Copyright 2000  Alan DeKok <aland@ox.org>
23
23
 */
24
 
static const char rcsid[] = "$Id: radeapclient.c,v 1.7 2004/02/26 19:04:29 aland Exp $";
 
24
static const char rcsid[] = "$Id: radeapclient.c,v 1.7.4.1 2005/12/14 18:32:02 nbk Exp $";
25
25
 
26
26
#include "autoconf.h"
27
27
#include "libradius.h"
82
82
 
83
83
struct eapsim_keys eapsim_mk;
84
84
 
85
 
static void usage(void)
 
85
static void NEVER_RETURNS usage(void)
86
86
{
87
87
        fprintf(stderr, "Usage: radeapclient [options] server[:port] <command> [<secret>]\n");
88
88
 
950
950
                        timeout = atof(optarg);
951
951
                        break;
952
952
                case 'v':
953
 
                        printf("radclient: $Id: radeapclient.c,v 1.7 2004/02/26 19:04:29 aland Exp $ built on " __DATE__ " at " __TIME__ "\n");
 
953
                        printf("radclient: $Id: radeapclient.c,v 1.7.4.1 2005/12/14 18:32:02 nbk Exp $ built on " __DATE__ " at " __TIME__ "\n");
954
954
                        exit(0);
955
955
                        break;
956
956
               case 'S':