Changeset 1028

Show
Ignore:
Timestamp:
04/14/07 14:53:28 (1 year ago)
Author:
ahu
Message:

recursor compile fixes, plus make dnswasher a bit more helpful

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/pdns/pdns/Makefile-recursor

    r999 r1028  
    1414arguments.o lwres.o pdns_recursor.o recursor_cache.o dnsparser.o \ 
    1515dnswriter.o dnsrecords.o rcpgenerator.o base64.o zoneparser-tng.o \ 
    16 rec_channel.o rec_channel_rec.o malloc.o selectmplexer.o 
     16rec_channel.o rec_channel_rec.o malloc.o selectmplexer.o sillyrecords.o 
    1717 
    1818REC_CONTROL_OBJECTS=rec_channel.o rec_control.o arguments.o  
  • trunk/pdns/pdns/dist-recursor

    r929 r1028  
    1414selectmplexer.cc epollmplexer.cc kqueuemplexer.cc portsmplexer.cc pdns_hw.cc \ 
    1515win32_mtasker.cc win32_rec_channel.cc win32_logger.cc ntservice.cc \ 
    16 recursorservice.cc
     16recursorservice.cc sillyrecords.cc
    1717 
    1818cd docs 
  • trunk/pdns/pdns/dnswasher.cc

    r862 r1028  
    4747try 
    4848{ 
     49  if(argc!=3) { 
     50    cerr<<"Syntax: dnswasher infile outfile\n"; 
     51    exit(1); 
     52  } 
    4953  PcapPacketReader pr(argv[1]); 
    5054  PcapPacketWriter pw(argv[2], pr); 
  • trunk/pdns/pdns/pdns_recursor.cc

    r988 r1028  
    813813  return tmp; 
    814814} 
    815  
    816 #include <sys/syscall.h> 
    817 #include <unistd.h> 
    818 #include <asm/unistd.h> 
    819 #include <sys/types.h> 
    820 #include <sys/socket.h> 
    821  
    822 #if 0 
    823 extern "C" { 
    824 ssize_t recvfrom(int s, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlen) 
    825 { 
    826 #ifdef __NR_socketcall 
    827         return syscall(__NR_socketcall, 12, &s); 
    828 #else 
    829         return syscall(__NR_recvfrom, s, buf, len, flags, from, fromlen); 
    830 #endif 
    831 } 
    832 } 
    833 #endif 
    834815 
    835816void handleNewUDPQuestion(int fd, boost::any& var) 
  • trunk/pdns/pdns/rec_control.cc

    r818 r1028  
    2020#include "ahuexception.hh" 
    2121#include "arguments.hh" 
     22#include "config.h" 
    2223 
    2324using namespace std;