Lines 1-56
Link Here
|
1 |
--- ./aslookup.c.orig Wed Apr 5 05:35:56 2000 |
1 |
--- aslookup.c.orig 2009-09-20 04:00:21.000000000 -0700 |
2 |
+++ ./aslookup.c Wed Nov 9 22:53:13 2005 |
2 |
+++ aslookup.c 2020-05-21 10:27:59.504942000 -0700 |
3 |
@@ -249,7 +249,7 @@ |
3 |
@@ -48,12 +48,12 @@ |
4 |
break; |
4 |
#include <time.h> |
5 |
case 'C': |
5 |
#include <stdlib.h> |
6 |
#ifdef DEBUG |
|
|
7 |
- printf("Compleate\n"); |
8 |
+ printf("Complete\n"); |
9 |
#endif |
10 |
stop = 1; |
11 |
break; |
12 |
@@ -936,7 +936,7 @@ |
13 |
|
6 |
|
14 |
if (strncmp(&line[3], " ", 7) == 0) { |
7 |
-#define VERSION "ASLookup Beta Version 0.13" |
15 |
#ifdef DEBUG |
8 |
+#define VERSION "ASLookup Beta Version 0.13d" |
16 |
- printf("Old Data Concatinate\n"); |
9 |
#define COPYRIGHT "Copyright (C) 1998 - 2000 K.Kondo, Internet Initiative Japan Inc.\r\nCopyright (c) 2005 K.Kondo, Bugest-Network" |
17 |
+ printf("Old Data Concatenate\n"); |
10 |
#define REVISION "aslookup.c,v 1.7 2005/12/07 02:56:35 kuniaki Exp" |
18 |
#endif |
|
|
19 |
bzero(buf,40); |
20 |
strncpy(buf, pathcache.data, 3); |
21 |
@@ -952,7 +952,7 @@ |
22 |
printf("%s:\n",pathcache.data); |
23 |
searchas(pathcache.pathstr); |
24 |
} else { |
25 |
- printf("%s: Dplicated AS Path\n",pathcache.data); |
26 |
+ printf("%s: Duplicated AS Path\n",pathcache.data); |
27 |
} |
28 |
} |
29 |
freecache(); |
30 |
@@ -987,7 +987,7 @@ |
31 |
|
11 |
|
32 |
if (strncmp(&line[3], " ", 7) == 0) { |
12 |
#ifdef RALOCAL |
33 |
#ifdef DEBUG |
13 |
-#define RADB "bvtest.bugest.net" |
34 |
- printf("Old Data Concatinate: %s\n",olddata); |
14 |
+#define RADB "whois.epoch.net" |
35 |
+ printf("Old Data Concatenate: %s\n",olddata); |
15 |
#define WHOIS 43 |
36 |
#endif |
16 |
#endif /* _ifedef RALOCAL */ |
37 |
if (strlen(olddata) > 0) { |
17 |
#ifndef RALOCAL |
38 |
bzero(buf,40); |
|
|
39 |
@@ -1007,7 +1007,7 @@ |
40 |
printf("%s:\n",pathcache.data); |
41 |
searchas(pathcache.pathstr); |
42 |
} else { |
43 |
- printf("%s: Dplicated AS Path\n",pathcache.data); |
44 |
+ printf("%s: Duplicated AS Path\n",pathcache.data); |
45 |
} |
46 |
} |
47 |
fclose(fp); |
48 |
@@ -1034,7 +1034,7 @@ |
49 |
if (a == 0) { |
50 |
hp = gethostbyname(hn); |
51 |
if (hp == NULL) { |
52 |
- printf("Could not resolv : %s\n",hn); |
53 |
+ printf("Could not resolve : %s\n",hn); |
54 |
return(1); |
55 |
} |
56 |
bzero(&sin, sizeof(struct sockaddr_in)); |