author | max <max> | 2003-02-09 19:30:29 (UTC) |
---|---|---|
committer | max <max> | 2003-02-09 19:30:29 (UTC) |
commit | c0f8b347e790f042f0a14e6e58e67046a7e0b8e3 (patch) (unidiff) | |
tree | a5b4de3b986f37fa18a107b9000a8e7624889724 | |
parent | 39eed07684a2ae7d76aa61cdb00c8a4bcfc66ef0 (diff) | |
download | opie-c0f8b347e790f042f0a14e6e58e67046a7e0b8e3.zip opie-c0f8b347e790f042f0a14e6e58e67046a7e0b8e3.tar.gz opie-c0f8b347e790f042f0a14e6e58e67046a7e0b8e3.tar.bz2 |
Chanswitch
-rw-r--r-- | noncore/net/wellenreiter/daemon/source/daemon.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/daemon/source/daemon.cc b/noncore/net/wellenreiter/daemon/source/daemon.cc index 5cf4e97..8471efc 100644 --- a/noncore/net/wellenreiter/daemon/source/daemon.cc +++ b/noncore/net/wellenreiter/daemon/source/daemon.cc | |||
@@ -1,24 +1,24 @@ | |||
1 | /* | 1 | /* |
2 | * Startup functions of wellenreiter | 2 | * Startup functions of wellenreiter |
3 | * | 3 | * |
4 | * $Id$ | 4 | * $Id$ |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #include "config.hh" | 7 | #include "config.hh" |
8 | #include "daemon.hh" | 8 | #include "daemon.hh" |
9 | 9 | ||
10 | /* should be parsed from cfg-file */ | 10 | /* should be parsed from cfg-file */ |
11 | #define MAXCHANNEL 13 | 11 | #define MAXCHANNEL 13 |
12 | #define CHANINTERVAL 100000 | 12 | #define CHANINTERVAL 700000 |
13 | 13 | ||
14 | /* Main function of wellenreiterd */ | 14 | /* Main function of wellenreiterd */ |
15 | int main(int argc, char **argv) | 15 | int main(int argc, char **argv) |
16 | { | 16 | { |
17 | int sock, maxfd, retval; | 17 | int sock, maxfd, retval; |
18 | char buffer[WL_SOCKBUF]; | 18 | char buffer[WL_SOCKBUF]; |
19 | struct pcap_pkthdr header; | 19 | struct pcap_pkthdr header; |
20 | struct sockaddr_in saddr; | 20 | struct sockaddr_in saddr; |
21 | pcap_t *handletopcap; | 21 | pcap_t *handletopcap; |
22 | wl_cardtype_t cardtype; | 22 | wl_cardtype_t cardtype; |
23 | pthread_t sub; | 23 | pthread_t sub; |
24 | const unsigned char *packet; | 24 | const unsigned char *packet; |