Permalink
Browse files

Use no spaces version of xfrBlob for TSIG

  • Loading branch information...
1 parent 6f0d4f1 commit 5eb33cb3cffbc75d6b2934bb999af7dd5c4261da @cmouse cmouse committed with cmouse Jan 31, 2015
Showing with 3 additions and 3 deletions.
  1. +3 −3 pdns/dnsrecords.cc
View
@@ -162,12 +162,12 @@ boilerplate_conv(TSIG, ns_t_tsig,
conv.xfr16BitInt(d_fudge);
uint16_t size=d_mac.size();
conv.xfr16BitInt(size);
- conv.xfrBlob(d_mac, size);
+ if (size>0) conv.xfrBlobNoSpaces(d_mac, size);
conv.xfr16BitInt(d_origID);
conv.xfr16BitInt(d_eRcode);
- size=d_otherData.size();
+ size=d_otherData.size();
conv.xfr16BitInt(size);
- if (size>0) conv.xfrBlob(d_otherData, size);
+ if (size>0) conv.xfrBlobNoSpaces(d_otherData, size);
);
MXRecordContent::MXRecordContent(uint16_t preference, const string& mxname) : DNSRecordContent(ns_t_mx), d_preference(preference), d_mxname(mxname)

0 comments on commit 5eb33cb

Please sign in to comment.