summaryrefslogtreecommitdiff
path: root/lib/kernel/src/inet_dns.hrl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kernel/src/inet_dns.hrl')
-rw-r--r--lib/kernel/src/inet_dns.hrl12
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/kernel/src/inet_dns.hrl b/lib/kernel/src/inet_dns.hrl
index c87786390c..5288c570b2 100644
--- a/lib/kernel/src/inet_dns.hrl
+++ b/lib/kernel/src/inet_dns.hrl
@@ -18,7 +18,7 @@
%% %CopyrightEnd%
%%
%%
-%% Defintion for Domain Name System
+%% Definition for Domain Name System
%%
%%
@@ -153,7 +153,7 @@
%%
%% Structure for query header, the order of the fields is machine and
%% compiler dependent, in our case, the bits within a byte are assignd
-%% least significant first, while the order of transmition is most
+%% least significant first, while the order of transmission is most
%% significant first. This requires a somewhat confusing rearrangement.
%%
-record(dns_header,
@@ -162,7 +162,7 @@
%% byte F0
qr = 0, %% :1 response flag
opcode = 0, %% :4 purpose of message
- aa = 0, %% :1 authoritive answer
+ aa = 0, %% :1 authoritative answer
tc = 0, %% :1 truncated message
rd = 0, %% :1 recursion desired
%% byte F1
@@ -190,9 +190,11 @@
cnt = 0, %% access count
ttl = 0, %% time to live
data = [], %% raw data
- %%
+ %%
tm, %% creation time
- bm = [], %% Bitmap storing domain character case information.
+ bm = "", %% Used to be defined as:
+ %% Bitmap storing domain character case information
+ %% but now; Case normalized domain
func = false %% Was: Optional function calculating the data field.
%% Now: cache-flush Class flag from mDNS RFC 6762
}).