Changeset 281

Show
Ignore:
Timestamp:
11/18/04 22:58:24 (9 years ago)
Author:
benoitg
Message:

2004-11-18 Benoit Gr�goire <bock@…>

  • src/ping_thread.c: Merge phil's bug fixes from stable branch
  • ipkg/rules: Merge phil's bug fixes from stable branch
  • configure.in: Set version to 1.1.0alpha
Location:
trunk/wifidog
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog/ChangeLog

    r277 r281  
    11# $Header$ 
    2  
     22004-11-18 Benoit Gr�goire  <bock@step.polymtl.ca> 
     3        * src/ping_thread.c: Merge phil's bug fixes from stable branch 
     4        * ipkg/rules:  Merge phil's bug fixes from stable branch 
     5        * configure.in:  Set version to 1.1.0alpha 
     6         
    372004-11-18 Alexandre Carmel-Veilleux <acv@acv.ca> 
    48        * src/fw_iptables.[ch]: Merged in Phil's patch. 
  • trunk/wifidog/configure.in

    r261 r281  
    2020 
    2121WIFIDOG_MAJOR_VERSION=1 
    22 WIFIDOG_MINOR_VERSION=0 
    23 WIFIDOG_MICRO_VERSION=2-pre1 
     22WIFIDOG_MINOR_VERSION=1 
     23WIFIDOG_MICRO_VERSION=0alpha 
    2424WIFIDOG_VERSION=$WIFIDOG_MAJOR_VERSION.$WIFIDOG_MINOR_VERSION.$WIFIDOG_MICRO_VERSION 
    2525 
  • trunk/wifidog/ipkg/rules

    r258 r281  
    4646build-ipkg-utils-stamp: 
    4747        $(MAKE) -C $(BUILDROOT) ipkg-utils 
    48          
    4948        touch build-ipkg-utils-stamp 
    5049 
     
    7675        cp $(CURDIR)/scripts/openwrt/S65wifidog $(TMP_DIR)/etc/init.d 
    7776        chmod +x $(TMP_DIR)/etc/init.d/S65wifidog 
    78          
     77 
    7978install-wifidog: 
    8079        mkdir -p $(TMP_DIR)/usr/bin 
     
    8382        $(STRIP) $(TMP_DIR)/usr/bin/wifidog 
    8483        $(STRIP) $(TMP_DIR)/usr/bin/wdctl 
    85          
     84 
    8685install-iptables: 
    8786        mkdir -p $(TMP_DIR)/usr/lib/iptables 
     
    107106        echo "Description: The WiFiDog project is a complete and embeedable captive portal solution for wireless community groups or individuals who wish to open a free HotSpot while still preventing abuse of their Internet connection." >> $(TMP_DIR)/CONTROL/control 
    108107        echo "Source: http://www.ilesansfil.org/wiki/WiFiDog" >> $(TMP_DIR)/CONTROL/control 
    109         echo "/etc/wifidog.conf" >> $(TMP_DIR)/CONTROL/conffiles 
     108        echo "/etc/wifidog.conf" > $(TMP_DIR)/CONTROL/conffiles 
    110109        $(IPKG_BUILD) -c -o root -g root $(TMP_DIR) $(CURDIR) 
    111110 
  • trunk/wifidog/src/ping_thread.c

    r277 r281  
    135135                memcpy(auth_server->last_ip, h_addr, sizeof(struct in_addr)); 
    136136        } else { 
     137           
    137138                for (i = 0; i < sizeof(struct in_addr) 
    138139                                && (*((char *)auth_server->last_ip + i) 
    139140                                        == *((char *)h_addr + i)); i++); 
    140141                if (i < sizeof(struct in_addr)) { 
     142                  memcpy(auth_server->last_ip, h_addr, sizeof(struct in_addr)); 
    141143                        fw_clear_authservers(); 
    142144                        fw_set_authservers();