Tweaks to previous, DNS label charset commit.

This commit is contained in:
Simon Kelley
2015-04-22 21:14:31 +01:00
parent cbe379ad6b
commit b8f16556d3
4 changed files with 30 additions and 12 deletions

View File

@@ -229,7 +229,7 @@ unsigned char *do_rfc1035_name(unsigned char *p, char *sval)
{
#ifdef HAVE_DNSSEC
if (option_bool(OPT_DNSSEC_VALID) && *sval == NAME_ESCAPE)
*p++ = *(++sval);
*p++ = (*(++sval))-1;
else
#endif
*p++ = *sval;