mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
Commment language tweaks.
This commit is contained in:
@@ -36,7 +36,7 @@ int extract_name(struct dns_header *header, size_t plen, unsigned char **pp,
|
|||||||
if ((l = *p++) == 0)
|
if ((l = *p++) == 0)
|
||||||
/* end marker */
|
/* end marker */
|
||||||
{
|
{
|
||||||
/* check that there are the correct no of bytes after the name */
|
/* check that there are the correct no. of bytes after the name */
|
||||||
if (!CHECK_LEN(header, p1 ? p1 : p, plen, extrabytes))
|
if (!CHECK_LEN(header, p1 ? p1 : p, plen, extrabytes))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
@@ -156,7 +156,7 @@ int in_arpa_name_2_addr(char *namein, struct all_addr *addrp)
|
|||||||
memset(addrp, 0, sizeof(struct all_addr));
|
memset(addrp, 0, sizeof(struct all_addr));
|
||||||
|
|
||||||
/* turn name into a series of asciiz strings */
|
/* turn name into a series of asciiz strings */
|
||||||
/* j counts no of labels */
|
/* j counts no. of labels */
|
||||||
for(j = 1,cp1 = name; *namein; cp1++, namein++)
|
for(j = 1,cp1 = name; *namein; cp1++, namein++)
|
||||||
if (*namein == '.')
|
if (*namein == '.')
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -270,7 +270,7 @@ u16 *rrfilter_desc(int type)
|
|||||||
{
|
{
|
||||||
/* List of RRtypes which include domains in the data.
|
/* List of RRtypes which include domains in the data.
|
||||||
0 -> domain
|
0 -> domain
|
||||||
integer -> no of plain bytes
|
integer -> no. of plain bytes
|
||||||
-1 -> end
|
-1 -> end
|
||||||
|
|
||||||
zero is not a valid RRtype, so the final entry is returned for
|
zero is not a valid RRtype, so the final entry is returned for
|
||||||
|
|||||||
Reference in New Issue
Block a user