Changeset 92

Show
Ignore:
Timestamp:
04/20/04 22:56:02 (9 years ago)
Author:
aprilp
Message:

Removed possibility to specify gateway port on command line

Location:
trunk/wifidog
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog/ChangeLog

    r91 r92  
    33        * fixed expiration time 
    44 
    5 2004-04-19  Philippe April <papril777@yahoo.com> 
    6         * A lot of changes regarding debugging facilities and added logging 
    7         to syslog 
     52004-04-20  Philippe April <papril777@yahoo.com> 
     6    * A lot of changes regarding debugging facilities and added logging 
     7    to syslog 
     8    * Removed possibility to specify port on command line 
    89 
    9102004-04-19  Philippe April <papril777@yahoo.com> 
  • trunk/wifidog/src/commandline.c

    r90 r92  
    4242    printf("  -c [filename] Use this config file\n"); 
    4343    printf("  -f            Run in foreground\n"); 
    44     printf("  -p            TCP port to listen on\n"); 
    4544    printf("  -d <level>    Debug level\n"); 
    4645    printf("  -s            Log to syslog\n"); 
     
    5958    int c; 
    6059 
    61     while (-1 != (c = getopt(argc, argv, "c:hfp:d:s"))) { 
     60    while (-1 != (c = getopt(argc, argv, "c:hfd:s"))) { 
    6261        switch(c) { 
    6362            case 'h': 
     
    7473            case 'f': 
    7574                config.daemon = 0; 
    76                 break; 
    77  
    78             case 'p': 
    79                 if (optarg) { 
    80                     config.gw_port = atoi(optarg); 
    81                 } 
    8275                break; 
    8376 
  • trunk/wifidog/wifidog.conf

    r90 r92  
    77# 
    88# Set this to true if you want to run as a daemon 
    9 Daemon 0 
     9Daemon 1 
    1010 
    1111# Parm: GatewayID