|
|
1.1 ! root 1: #include <stdio.h> ! 2: #include "addrformat.h" ! 3: int debug; ! 4: main() ! 5: { ! 6: char buf[256]; ! 7: char *cp; ! 8: ! 9: printf(">"); ! 10: fflush(stdout); ! 11: while(fgets(buf, sizeof buf, stdin)) { ! 12: if(cp = (char *)strchr(buf, '\n')) ! 13: *cp = 0; ! 14: printf("%s\n>", convertaddr(buf, ".att.com", SOURCEROUTE)); ! 15: fflush(stdout); ! 16: } ! 17: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.