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
3e21a1a6
Commit
3e21a1a6
authored
Mar 22, 2014
by
Andy
Committed by
Simon Kelley
Mar 22, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tidy uid defines.
parent
2b29191e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/cache.c
src/cache.c
+1
-1
src/rfc1035.c
src/rfc1035.c
+1
-1
No files found.
src/cache.c
View file @
3e21a1a6
...
...
@@ -298,7 +298,7 @@ struct crec *cache_enumerate(int init)
static
int
is_outdated_cname_pointer
(
struct
crec
*
crecp
)
{
if
(
!
(
crecp
->
flags
&
F_CNAME
)
||
crecp
->
addr
.
cname
.
uid
==
0
)
if
(
!
(
crecp
->
flags
&
F_CNAME
)
||
crecp
->
addr
.
cname
.
uid
==
SRC_INTERFACE
)
return
0
;
/* NB. record may be reused as DS or DNSKEY, where uid is
...
...
src/rfc1035.c
View file @
3e21a1a6
...
...
@@ -2018,7 +2018,7 @@ size_t answer_request(struct dns_header *header, char *limit, size_t qlen,
strcpy
(
name
,
cname_target
);
/* check if target interface_name */
if
(
crecp
->
addr
.
cname
.
uid
==
0
)
if
(
crecp
->
addr
.
cname
.
uid
==
SRC_INTERFACE
)
goto
intname_restart
;
else
goto
cname_restart
;
...
...
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