Skip to content

Commit

Permalink
Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Mar 15, 2024
1 parent f0bf29e commit 513c128
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions share/dictionary/dns/dictionary.rfc1034
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ VALUE Rcode Name-error 3
VALUE Rcode Not-implemented 4
VALUE Rcode Refused 5
VALUE Rcode YX-Domain 6
VALUE Rcode YX-Resource-Recode-Set 7
VALUE Rcode YX-Resource-Record-Set 7
VALUE Rcode NX-Resource-Record-Set 8
VALUE Rcode Not-Auth 9
VALUE Rcode Not-Zone 10
VALUE Rcode DSO-Type-Not-Implemented 11
VALUE Rcode Bad-Signature 16
VALUE Rcode Bad-Key 17
VALUE Rcode Bad-Time 18
VALUE Rcode Rad-Mode 19
VALUE Rcode Bad-Mode 19
VALUE Rcode Bad-name 20
VALUE Rcode Bad-Algorithm 21
VALUE Rcode Bad-Truncation 22
Expand Down
8 changes: 4 additions & 4 deletions src/protocols/dns/dns.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,19 +91,19 @@ void fr_dns_global_free(void);

typedef enum {
FR_DNS_QUERY = 0,
FR_DNS_IQUERY = 1,
FR_DNS_INVERSE_QUERY = 1,
FR_DNS_STATUS = 2,
FR_DNS_NOTIFY = 4,
FR_DNS_UPDATE = 5,
FR_DNS_STATEFUL_OP = 6,
FR_DNS_STATEFUL_OPERATION = 6,
FR_DNS_CODE_MAX = 7,

FR_DNS_QUERY_RESPONSE = 16,
FR_DNS_IQUERY_RESPONSE = 17,
FR_DNS_INVERSE_QUERY_RESPONSE = 17,
FR_DNS_STATUS_RESPONSE = 18,
FR_DNS_NOTIFY_RESPONSE = 20,
FR_DNS_UPDATE_RESPONSE = 21,
FR_DNS_STATEFUL_OP_RESPONSE = 22,
FR_DNS_STATEFUL_OPERATION_RESPONSE = 22,

FR_DNS_DO_NOT_RESPOND = 256,
} fr_dns_packet_code_t;
Expand Down
2 changes: 1 addition & 1 deletion src/tests/unit/protocols/dns/bad-cookie.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ match f6 ab 01 20 00 01 00 00 00 00 00 01 00 00 06 00 01 00 00 29 10 00 00 00 00
# | | optdata = '6\xbf\x11\x1f\xef.\x01\t}\x8f\xfe\x06\\co\xfb\x14-vt\x94@zs'
#
decode-proto f6 ab 81 87 00 01 00 00 00 00 00 01 00 00 06 00 01 00 00 29 10 00 01 00 00 00 00 1c 00 0a 00 18 36 bf 11 1f ef 2e 01 09 7d 8f fe 06 5c 63 6f fb 14 2d 76 74 94 40 7a 73
match Header = { ID = 63147, Query = Response, Opcode = Query, Authoritative = no, Truncated-Response = no, Recursion-Desired = yes, Recursion-Available = yes, Reserved = no, Authentic-Data = no, Checking-Disabled = no, Rcode = YX-Resource-Recode-Set, Question-Count = 1, Answer-Count = 0, Name-Server-Count = 0, Additional-Records-Count = 1 }, Question = { Name = ".", Type = 6, Class = Internet }, Additional-Record = { Name = ".", Type = Opt, Class = 4096, TTL = 16777216, Type.Opt = { Options = { Cookie = { Client = 0x36bf111fef2e0109, Server = 0x7d8ffe065c636ffb142d767494407a73 } } } }
match Header = { ID = 63147, Query = Response, Opcode = Query, Authoritative = no, Truncated-Response = no, Recursion-Desired = yes, Recursion-Available = yes, Reserved = no, Authentic-Data = no, Checking-Disabled = no, Rcode = YX-Resource-Rcord-Set, Question-Count = 1, Answer-Count = 0, Name-Server-Count = 0, Additional-Records-Count = 1 }, Question = { Name = ".", Type = 6, Class = Internet }, Additional-Record = { Name = ".", Type = Opt, Class = 4096, TTL = 16777216, Type.Opt = { Options = { Cookie = { Client = 0x36bf111fef2e0109, Server = 0x7d8ffe065c636ffb142d767494407a73 } } } }
encode-proto -
match f6 ab 81 87 00 01 00 00 00 00 00 01 00 00 06 00 01 00 00 29 10 00 01 00 00 00 00 1c 00 0a 00 18 36 bf 11 1f ef 2e 01 09 7d 8f fe 06 5c 63 6f fb 14 2d 76 74 94 40 7a 73

Expand Down

0 comments on commit 513c128

Please sign in to comment.