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
237724c0
Commit
237724c0
authored
Apr 05, 2012
by
Giovanni Bajo
Committed by
Simon Kelley
Aug 20, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename existing DNSSEC macros into DNSSEC_PROXY.
parent
53f84c7f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
src/dnsmasq.h
src/dnsmasq.h
+1
-1
src/forward.c
src/forward.c
+1
-1
src/option.c
src/option.c
+3
-3
No files found.
src/dnsmasq.h
View file @
237724c0
...
@@ -213,7 +213,7 @@ struct event_desc {
...
@@ -213,7 +213,7 @@ struct event_desc {
#define OPT_NO_OVERRIDE 30
#define OPT_NO_OVERRIDE 30
#define OPT_NO_REBIND 31
#define OPT_NO_REBIND 31
#define OPT_ADD_MAC 32
#define OPT_ADD_MAC 32
#define OPT_DNSSEC
33
#define OPT_DNSSEC
_PROXY
33
#define OPT_CONSEC_ADDR 34
#define OPT_CONSEC_ADDR 34
#define OPT_CONNTRACK 35
#define OPT_CONNTRACK 35
#define OPT_FQDN_UPDATE 36
#define OPT_FQDN_UPDATE 36
...
...
src/forward.c
View file @
237724c0
...
@@ -476,7 +476,7 @@ static size_t process_reply(struct dns_header *header, time_t now,
...
@@ -476,7 +476,7 @@ static size_t process_reply(struct dns_header *header, time_t now,
}
}
/* RFC 4035 sect 4.6 para 3 */
/* RFC 4035 sect 4.6 para 3 */
if
(
!
is_sign
&&
!
option_bool
(
OPT_DNSSEC
))
if
(
!
is_sign
&&
!
option_bool
(
OPT_DNSSEC
_PROXY
))
header
->
hb4
&=
~
HB4_AD
;
header
->
hb4
&=
~
HB4_AD
;
if
(
OPCODE
(
header
)
!=
QUERY
||
(
RCODE
(
header
)
!=
NOERROR
&&
RCODE
(
header
)
!=
NXDOMAIN
))
if
(
OPCODE
(
header
)
!=
QUERY
||
(
RCODE
(
header
)
!=
NOERROR
&&
RCODE
(
header
)
!=
NXDOMAIN
))
...
...
src/option.c
View file @
237724c0
...
@@ -109,7 +109,7 @@ struct myoption {
...
@@ -109,7 +109,7 @@ struct myoption {
#define LOPT_NO_REBIND 298
#define LOPT_NO_REBIND 298
#define LOPT_LOC_REBND 299
#define LOPT_LOC_REBND 299
#define LOPT_ADD_MAC 300
#define LOPT_ADD_MAC 300
#define LOPT_
DNSSEC
301
#define LOPT_
SEC_PROXY
301
#define LOPT_INCR_ADDR 302
#define LOPT_INCR_ADDR 302
#define LOPT_CONNTRACK 303
#define LOPT_CONNTRACK 303
#define LOPT_FQDN 304
#define LOPT_FQDN 304
...
@@ -250,7 +250,7 @@ static const struct myoption opts[] =
...
@@ -250,7 +250,7 @@ static const struct myoption opts[] =
{
"dhcp-generate-names"
,
2
,
0
,
LOPT_GEN_NAMES
},
{
"dhcp-generate-names"
,
2
,
0
,
LOPT_GEN_NAMES
},
{
"rebind-localhost-ok"
,
0
,
0
,
LOPT_LOC_REBND
},
{
"rebind-localhost-ok"
,
0
,
0
,
LOPT_LOC_REBND
},
{
"add-mac"
,
0
,
0
,
LOPT_ADD_MAC
},
{
"add-mac"
,
0
,
0
,
LOPT_ADD_MAC
},
{
"proxy-dnssec"
,
0
,
0
,
LOPT_
DNSSEC
},
{
"proxy-dnssec"
,
0
,
0
,
LOPT_
SEC_PROXY
},
{
"dhcp-sequential-ip"
,
0
,
0
,
LOPT_INCR_ADDR
},
{
"dhcp-sequential-ip"
,
0
,
0
,
LOPT_INCR_ADDR
},
{
"conntrack"
,
0
,
0
,
LOPT_CONNTRACK
},
{
"conntrack"
,
0
,
0
,
LOPT_CONNTRACK
},
{
"dhcp-client-update"
,
0
,
0
,
LOPT_FQDN
},
{
"dhcp-client-update"
,
0
,
0
,
LOPT_FQDN
},
...
@@ -394,7 +394,7 @@ static struct {
...
@@ -394,7 +394,7 @@ static struct {
{
LOPT_PXE_SERV
,
ARG_DUP
,
"<service>"
,
gettext_noop
(
"Boot service for PXE menu."
),
NULL
},
{
LOPT_PXE_SERV
,
ARG_DUP
,
"<service>"
,
gettext_noop
(
"Boot service for PXE menu."
),
NULL
},
{
LOPT_TEST
,
0
,
NULL
,
gettext_noop
(
"Check configuration syntax."
),
NULL
},
{
LOPT_TEST
,
0
,
NULL
,
gettext_noop
(
"Check configuration syntax."
),
NULL
},
{
LOPT_ADD_MAC
,
OPT_ADD_MAC
,
NULL
,
gettext_noop
(
"Add requestor's MAC address to forwarded DNS queries."
),
NULL
},
{
LOPT_ADD_MAC
,
OPT_ADD_MAC
,
NULL
,
gettext_noop
(
"Add requestor's MAC address to forwarded DNS queries."
),
NULL
},
{
LOPT_
DNSSEC
,
OPT_DNSSEC
,
NULL
,
gettext_noop
(
"Proxy DNSSEC validation results from upstream nameservers."
),
NULL
},
{
LOPT_
SEC_PROXY
,
OPT_DNSSEC_PROXY
,
NULL
,
gettext_noop
(
"Proxy DNSSEC validation results from upstream nameservers."
),
NULL
},
{
LOPT_INCR_ADDR
,
OPT_CONSEC_ADDR
,
NULL
,
gettext_noop
(
"Attempt to allocate sequential IP addresses to DHCP clients."
),
NULL
},
{
LOPT_INCR_ADDR
,
OPT_CONSEC_ADDR
,
NULL
,
gettext_noop
(
"Attempt to allocate sequential IP addresses to DHCP clients."
),
NULL
},
{
LOPT_CONNTRACK
,
OPT_CONNTRACK
,
NULL
,
gettext_noop
(
"Copy connection-track mark from queries to upstream connections."
),
NULL
},
{
LOPT_CONNTRACK
,
OPT_CONNTRACK
,
NULL
,
gettext_noop
(
"Copy connection-track mark from queries to upstream connections."
),
NULL
},
{
LOPT_FQDN
,
OPT_FQDN_UPDATE
,
NULL
,
gettext_noop
(
"Allow DHCP clients to do their own DDNS updates."
),
NULL
},
{
LOPT_FQDN
,
OPT_FQDN_UPDATE
,
NULL
,
gettext_noop
(
"Allow DHCP clients to do their own DDNS updates."
),
NULL
},
...
...
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