Fix the macro names.

This commit is contained in:
Giovanni Bajo authored and Simon Kelley committed 2013-08-20 15:41:23 +01:00
1 parent 0ca895f585
commit ec2962eacb
1 file changed
+3 -3
+3 -3
View File
@@ -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)