Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
Dnsmasq
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
Dnsmasq
Commits
74f0f9a0
Commit
74f0f9a0
authored
Dec 01, 2017
by
Josh Soref
Committed by
Simon Kelley
Dec 01, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Commment language tweaks.
parent
ed6bdb09
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/rfc1035.c
src/rfc1035.c
+2
-2
src/rrfilter.c
src/rrfilter.c
+1
-1
No files found.
src/rfc1035.c
View file @
74f0f9a0
...
...
@@ -36,7 +36,7 @@ int extract_name(struct dns_header *header, size_t plen, unsigned char **pp,
if
((
l
=
*
p
++
)
==
0
)
/* 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
))
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
));
/* 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
++
)
if
(
*
namein
==
'.'
)
{
...
...
src/rrfilter.c
View file @
74f0f9a0
...
...
@@ -270,7 +270,7 @@ u16 *rrfilter_desc(int type)
{
/* List of RRtypes which include domains in the data.
0 -> domain
integer -> no of plain bytes
integer -> no
.
of plain bytes
-1 -> end
zero is not a valid RRtype, so the final entry is returned for
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment