dnsmasq: place 'OPT_FILTER_AAAA' before 'OPT_LAST'

This commit is contained in:
ardanzhu 2021-01-23 12:02:04 +08:00 committed by AmadeusGhost
parent e392642bdd
commit 77f6cfb52d

View File

@ -11,11 +11,13 @@ Subject: [PATCH] add filter-aaaa option
--- a/src/dnsmasq.h
+++ b/src/dnsmasq.h
@@ -270,6 +270,7 @@ struct event_desc {
@@ -269,7 +269,8 @@
#define OPT_IGNORE_CLID 59
#define OPT_SINGLE_PORT 60
#define OPT_LEASE_RENEW 61
#define OPT_LAST 62
+#define OPT_FILTER_AAAA 63
-#define OPT_LAST 62
+#define OPT_FILTER_AAAA 62
+#define OPT_LAST 63
#define OPTION_BITS (sizeof(unsigned int)*8)
#define OPTION_SIZE ( (OPT_LAST/OPTION_BITS)+((OPT_LAST%OPTION_BITS)!=0) )