diff options
author | Doug Barton <dougb@FreeBSD.org> | 2010-03-02 19:49:55 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2010-03-02 19:49:55 +0000 |
commit | 841024d54f1f0a07feccf84d8938b00bc1f362b5 (patch) | |
tree | c470abc978aa6ca4f6b0033d7e09c8b7b09cd629 /lib/dns/message.c | |
parent | 51917575cfd35d6a201b010726ea7404a0f9bb7e (diff) |
Notes
Diffstat (limited to 'lib/dns/message.c')
-rw-r--r-- | lib/dns/message.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/dns/message.c b/lib/dns/message.c index b541635abf03..2e34120f3b9b 100644 --- a/lib/dns/message.c +++ b/lib/dns/message.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: message.c,v 1.245.50.2 2009/01/18 23:47:40 tbox Exp $ */ +/* $Id: message.c,v 1.245.50.3 2009/11/24 03:25:53 marka Exp $ */ /*! \file */ @@ -1888,6 +1888,8 @@ dns_message_rendersection(dns_message_t *msg, dns_section_t sectionid, msg->counts[sectionid] += total; return (result); } + if (result == ISC_R_NOSPACE) + msg->flags |= DNS_MESSAGEFLAG_TC; if (result != ISC_R_SUCCESS) { INSIST(st.used < 65536); dns_compress_rollback(msg->cctx, |