summaryrefslogtreecommitdiff
path: root/net/aslookup/files/patch-aslookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/aslookup/files/patch-aslookup.c')
-rw-r--r--net/aslookup/files/patch-aslookup.c56
1 files changed, 56 insertions, 0 deletions
diff --git a/net/aslookup/files/patch-aslookup.c b/net/aslookup/files/patch-aslookup.c
new file mode 100644
index 000000000000..b594d27a4ec8
--- /dev/null
+++ b/net/aslookup/files/patch-aslookup.c
@@ -0,0 +1,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));