Show
Ignore:
Timestamp:
07/01/09 22:17:37 (13 months ago)
Author:
ahu
Message:

we had some htonls in a twist for xfrIP.. hopefully this is the right fix

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/dnsparser.hh

    r1359 r1369  
    8282  { 
    8383    xfr32BitInt(val); 
     84    val=htonl(val); 
    8485  } 
    8586 
     
    150151  virtual ~DNSRecordContent() {} 
    151152  virtual void toPacket(DNSPacketWriter& pw)=0; 
    152   virtual string serialize(const string& qname) 
     153  virtual string serialize(const string& qname) // it would rock if this were const, but it is too hard 
    153154  { 
    154155    vector<uint8_t> packet;