Commit ec2962ea authored by Giovanni Bajo's avatar Giovanni Bajo Committed by Simon Kelley

Fix the macro names.

parent 0ca895f5
...@@ -100,9 +100,9 @@ static int extract_name_no_compression(unsigned char *rr, int maxlen, char *buf) ...@@ -100,9 +100,9 @@ static int extract_name_no_compression(unsigned char *rr, int maxlen, char *buf)
* larger, reflecting the total number of octects composing the domain name. * larger, reflecting the total number of octects composing the domain name.
* *
*/ */
#define PDN_EXTRACT 0 #define PWN_EXTRACT 0
#define PDN_COMPARE 1 #define PWN_COMPARE 1
#define PDN_ORDER 2 #define PWN_ORDER 2
static int process_domain_name(struct dns_header *header, size_t pktlen, static int process_domain_name(struct dns_header *header, size_t pktlen,
unsigned char** rdata, size_t* rdlen, unsigned char** rdata, size_t* rdlen,
unsigned char *out, int action) unsigned char *out, int action)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment