summaryrefslogtreecommitdiff
path: root/src/dns-protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dns-protocol.h')
-rw-r--r--src/dns-protocol.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dns-protocol.h b/src/dns-protocol.h
index 16fade3..7f5d686 100644
--- a/src/dns-protocol.h
+++ b/src/dns-protocol.h
@@ -142,3 +142,7 @@ struct dns_header {
#define ADD_RDLEN(header, pp, plen, len) \
(!CHECK_LEN(header, pp, plen, len) ? 0 : (((pp) += (len)), 1))
+
+/* Escape character in our presentation format for names.
+ Cannot be '.' or /000 and must be !isprint() */
+#define NAME_ESCAPE 1