Commit 20ea3c1
fix: correct DNS record type constants (A=1, AAAA=28)
The DNS type constants were incorrectly defined using iota (0, 1),
but RFC 1035 defines A record as type 1 and RFC 3596 defines AAAA
record as type 28. This caused AAAA queries to bypass the NHP
knocking logic entirely.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 75ac57a commit 20ea3c1
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments