aboutsummaryrefslogtreecommitdiff
path: root/net/aslookup/files/patch-aslookup.c
blob: b594d27a4ec846ac874112cd97bb57fd279f00d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
--- ./aslookup.c.orig	Wed Apr  5 05:35:56 2000
+++ ./aslookup.c	Wed Nov  9 22:53:13 2005
@@ -249,7 +249,7 @@
 			break;
 		case 'C':
 #ifdef DEBUG
-			printf("Compleate\n");
+			printf("Complete\n");
 #endif
 			stop = 1;
 			break;
@@ -936,7 +936,7 @@
 
 		if (strncmp(&line[3], "       ", 7) == 0) {
 #ifdef DEBUG
-			printf("Old Data Concatinate\n");
+			printf("Old Data Concatenate\n");
 #endif
 			bzero(buf,40);
 			strncpy(buf, pathcache.data, 3);
@@ -952,7 +952,7 @@
 			printf("%s:\n",pathcache.data);
 			searchas(pathcache.pathstr);
 		} else {
-			printf("%s: Dplicated AS Path\n",pathcache.data);
+			printf("%s: Duplicated AS Path\n",pathcache.data);
 		}
 	}
 	freecache();
@@ -987,7 +987,7 @@
 
                 if (strncmp(&line[3], "       ", 7) == 0) {
 #ifdef DEBUG
-                        printf("Old Data Concatinate: %s\n",olddata);
+                        printf("Old Data Concatenate: %s\n",olddata);
 #endif
                         if (strlen(olddata) > 0) {
                                 bzero(buf,40);
@@ -1007,7 +1007,7 @@
                         printf("%s:\n",pathcache.data);
                         searchas(pathcache.pathstr);
                 } else {
-                        printf("%s: Dplicated AS Path\n",pathcache.data);
+                        printf("%s: Duplicated AS Path\n",pathcache.data);
                 }
 	}
 	fclose(fp);
@@ -1034,7 +1034,7 @@
 	if (a == 0) {
 		hp = gethostbyname(hn);
 		if (hp == NULL) {
-			printf("Could not resolv : %s\n",hn);
+			printf("Could not resolve : %s\n",hn);
 			return(1);
 		}
 		bzero(&sin, sizeof(struct sockaddr_in));