diff options
Diffstat (limited to 'src/dnsmasq.h')
-rw-r--r-- | src/dnsmasq.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/dnsmasq.h b/src/dnsmasq.h index 9ee5e39..b6712f0 100644 --- a/src/dnsmasq.h +++ b/src/dnsmasq.h @@ -331,8 +331,16 @@ union all_addr { } log; /* for arbitrary RR record. */ struct { - struct blockdata *rrdata; - unsigned short rrtype, datalen; +#define RR_IMDATALEN 13 /* 16 - sizeof(short) - sizeof (char) */ + unsigned short rrtype; + char len; /* -1 for blockdata */ + union { + char data[RR_IMDATALEN]; + struct { + unsigned short datalen; + struct blockdata *rrdata; + } block; + } u; } rr; }; |