blob: 6be5f3decb6fc8b9c61e3084c7be27f12397b8b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
diff -Naur asleap-2.2/asleap.c asleap-2.2-new/asleap.c
--- asleap-2.2/asleap.c 2008-05-28 10:36:21.000000000 -0500
+++ asleap-2.2-new/asleap.c 2020-12-27 03:50:06.417501493 -0500
@@ -1395,7 +1395,7 @@
char *device, dictfile[255], dictidx[255], pcapfile[255];
struct asleap_data asleap;
struct stat dictstat, capturedatastat;
- int findleaptimeout = 5;
+ int findleaptimeout = 0;
unsigned int findlpexchret = 0;
int ret=0;
extern int success;
@@ -1605,7 +1605,7 @@
while (1) {
- findlpexchret = findlpexch(&asleap, 0, offset);
+ findlpexchret = findlpexch(&asleap, findleaptimeout, offset);
if (findlpexchret == LEAPEXCHFOUND) {
printf("\nCaptured LEAP exchange information:\n");
|